A. 
The Enforcement Officer is hereby authorized and directed to make all inspections necessary to determine whether compliance with the provisions of this code exists. For the purpose of making such inspections, the Enforcement Officer is hereby authorized to enter, examine and survey at all reasonable times all dwellings, dwelling units and premises. The owner or occupants of every dwelling or dwelling unit, or the person in charge thereof, shall give the Enforcement Officer free access to such dwelling or dwelling unit and its premises at all reasonable times for the purpose of such inspection, examination and survey. Every occupant of a dwelling or dwelling unit shall give the owner thereof, or his agent or employee, access to any part of such dwelling or dwelling unit or its premises at all reasonable times for the purpose of making such repairs or alterations as are necessary to effect compliance with the provisions of this ordinance or with any lawful rule or regulation adopted or any lawful order issued pursuant to the provisions of this ordinance.
B. 
In the event that permission to enter any such dwelling, dwelling unit, rooming house, rooming unit or boardinghouse for the purpose of inspection is denied, the Enforcement Officer may apply to the appropriate authority for a search warrant.
C. 
A warrant shall not be required:
(1) 
When entry is by permission or at the request of the owner or occupant.
(2) 
Where an imminent danger to health and safety exists.
(3) 
Following an accident or inherent condition where immediate inspection is required to determine if an imminent danger to health or safety exists.