An inspection warrant is an order in writing in the name of the people, signed by a judge of a court of record, directed to a peace officer as defined in section 29-831, and commanding him to conduct any inspection required or authorized by state or local law or regulation relating to health, welfare, fire or safety.
As used in sections 29-830 to 29-835, unless the context otherwise requires:
All state, county, city and village officers and their agents and employees, charged by statute or municipal ordinance with powers or duties involving inspection of real or personal property, building premises and contents, including but not limited by enumeration to housing, electrical, plumbing, heating, gas, fire, health, food, zoning, pollution, water, and weights and measures inspections, shall be peace officers for the purpose of applying for, obtaining and executing inspection warrants.
Inspection warrants shall be issued only upon showing that consent to entry for inspection purposes has been refused. In emergency situations neither consent nor a warrant shall be required.
An inspection warrant shall be issued only by a judge of a court of record upon reasonable cause, supported by affidavit describing the place and purpose of inspection. The judge may examine the applicant and other witnesses, on oath, to determine sufficient cause for inspection.
All general laws pertaining to search warrants, including but not limited to the filing costs involved and the conditions and time for return, shall be applicable to inspection warrants, unless in conflict with sections 29-830 to 29-833.
Any person who willfully refuses to permit, interferes with, or prevents any inspection authorized by inspection warrant shall be guilty of a Class III misdemeanor.