A building, housing or property, or part of a building, housing or property erected, altered, extended, reconstructed, removed or maintained, contrary to the provisions of an ordinance passed for a purpose specified in this article may be declared, by a court of law, a public nuisance, and may be abatable as such. However, a violation of the Uniform Construction Code or an ordinance that equals or exceeds the Uniform Construction Code shall be subject to the provisions of the Pennsylvania Construction Code Act and the regulations adopted thereunder by the Department of Labor and Industry relating to enforcement for noncompliance.
53 P.S. § 58104-A