(A)   Any licensed peace officer of the city’s Police Department, or the County Sheriff, or any Deputy Sheriff, shall have the authority to enforce any provision of this code.
   (B)   The following individuals designated in this section or by the City Council shall have the authority to administer and enforce the provisions specified:
      (1)   Building Official;
      (2)   City Clerk;
      (3)   City Engineer;
      (4)   City Manager;
      (5)   City Planner;
      (6)   Code Enforcement Officer;
      (7)   Community Development Director;
      (8)   Community Development Specialist;
      (9)   Community Service Officer;
      (10)   Crime Prevention Specialist;
      (11)   Electrical Inspector;
      (12)   Fire Chief;
      (13)   Fire Inspector;
      (14)   Fire Marshal;
      (15)   Licensing Clerk;
      (16)   Police Reserve;
      (17)   Weed Inspector; and
      (18)   Zoning Administrator.
   (C)   The City Clerk and any city official or employee designated by this code who has the responsibility to perform a duty under this code may, with the permission of a licensee of a business or owner of any property or resident of a dwelling, or other person in control of any premises, inspect or otherwise enter any property to enforce compliance with this code.
   (D)   Inspection of buildings and premises.
      (1)   General rule. For the purpose of safeguarding the health and safety of the general public and of the occupants of all buildings or to determine compliance with the code, an order or a permit or license, it is the duty of any authorized officer to conduct inspections to determine the condition of the buildings and premises located within the city. For the purpose of making the inspection, the authorized officer is authorized to enter, examine and survey the building or premises at all reasonable times.
         (a)   Notice. Prior to making the inspection, the authorized officer will inform the occupants of the building or premises to be inspected of the date and time of the inspection by personal service or regular mail postmarked not less than 72 hours prior to the time the inspection is made.
         (b)   Access. After the written notice has been given, the owner, occupant or operator of the building must give the authorized officer free access to the building and its premises, for the purpose of the inspection, examination or survey, provided that the inspection, examination or survey must not have for its purpose the harassment of the owner or occupant and the inspection, examination or survey is made so as to cause the least amount of inconvenience to the owner or occupant.
         (c)   Emergency access. The authorized officer must be allowed immediate entry:
            1.   At any time when in the opinion of the authorized officer an actual emergency tending to create an immediate danger to public health and safety exists; or
            2.   At any time when the inspection, examination or survey may be requested by the owner or occupant.
   (E)   Application for search warrant. Upon a refusal of any owner or occupant to permit the authorized officer access to a dwelling, dwelling unit or premises to make an inspection, and upon a belief of probable cause that the dwelling, dwelling unit or premises does not conform to the requirements of this code, the authorized officer may make application to the appropriate court for an order or warrant directing the inspection and search of the dwelling, dwelling unit or premises for its conformity to the requirements of this code, and any evidence or information from the inspection or search may be used in any court proceedings.
   (F)   Interference with official duties. It is unlawful for any person to prevent, delay or interfere with representatives of the city while they are engaged in the performance of his or her duties.