Electrical inspectors shall have the right to enter any building at reasonable times as may be necessary to perform the inspections described in §§ 151.049 through 151.051. In order to perform any inspection not provided for in such sections, the Electrical Inspector shall first obtain written consent from the owner of the premises to be inspected or his or her duly authorized agent, which instrument shall specify location, purpose and time of inspection. Without such written consent, the Electrical Inspector shall procure a proper warrant from a magistrate before entering upon premises for inspection purposes.
(`87 Code, § 30-16)