Registration under this act shall preclude any requirement of payment of a fee or registration or licensing of any home improvement contractor by any political subdivision. Political subdivisions shall be permitted to require building permits and local enforcement of the building code for that political subdivision, for which a reasonable fee may be charged. This provision does not affect a municipality's responsibilities or authority under the act of November 10, 1999 (P.L. 491, No. 45) , known as the Pennsylvania Construction Code Act, or the requirements undersection 302(e) of the act of June 2, 1915 (P.L. 736, No. 338), known as the Workers' Compensation Act, regarding workers' compensation. This provision does not affect existing licensing standards in effect on the effective date of this act, with respect to electricians and plumbers and other trades, where licensing is conditioned on requirements of testing or possession of certificates obtained through specific training in electricity or plumbing or other trades. This provision does not affect local regulations or standards for liability insurance adopted by a municipality prior to January 1, 2006, and which are in effect on the effective date of this section.
73 P.S. § 517.12