When a building or premises is occupied and open to the public, the fire code official shall present credentials to the occupant to make an inspection to enforce the provisions of this Code, or where the fire code official has reasonable cause to believe that there exists in a building or on any premises any conditions or violations of this Code that make the building or premises unsafe, dangerous or hazardous, the fire code official shall have the authority to enter the building or premises at all reasonable times to inspect and perform duties imposed on the fire code official by this Code. If entry is refused, the fire code official or representative in performance of their code enforcement duties, may seek inspection warrants as authorized.