2. No exemption from inspection pursuant to the provisions of statutory law shall prevent any municipality from adopting an ordinance to provide for the inspection of buildings to assure the health, safety, and public welfare of the municipality and its residents.

L.1983, c.2, s.2; amended 2013, c.253, s.24.