A building, housing or property, or part of a building, housing or property erected, altered, extended, reconstructed, removed or maintained, contrary to a provision 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 act of November 10, 1999 (P.L. 491, No. 45), known as 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. § 66703-A