(A)   Right of entry and administrative search warrants. Whenever necessary to make an inspection to enforce any ordinance or whenever there is reasonable cause to believe there exists an ordinance violation in any building or upon any premises or real estate within the jurisdiction of the city, a city official, upon presentation of proper credentials, may enter the building or premises at all reasonable times to inspect the same or to perform any duty imposed upon the official by this code of ordinances.  Except in emergency situations or when consent of the owner and/or occupant to the inspection has otherwise been obtained, the city official shall give the owner and/or occupant, if they can be located after reasonable effort, 24-hours’ written notice of the official’s intention to inspect.
   (B)   Warrants. If consent to enter upon or inspect any building, structure or property is withheld by any person having the lawful right to exclude, the city official having the duty to enter upon or conduct the inspection may apply to the state’s District Court in and for the county, pursuant to I.C.A. § 808.14, for an administrative search warrant. No owner, operator or occupant or any other person having charge, care or control of any dwelling, unit, rooming unit, structure, building or premises shall fail or neglect, after presentation of a search warrant, to permit entry therein by the municipal officer, designee or employee.
(2013 Code, § 21-65)  (Ord. 42, passed 8-14-1950; Ord. 12447, passed 4-11-1974; Ord. 14959, passed 3-13-2017)