A person, including an officer or agent of this state or of an instrumentality or political subdivision of this state, may not enter a private residence to conduct a health inspection without first receiving:
(1) permission obtained from a lawful adult occupant of the residence; or
(2) an authorization to inspect the residence for a specific public health purpose by a magistrate or by an order of a court of competent jurisdiction on a showing of a probable violation of a state health law, a control measure under Chapter 81, or a health ordinance of a political subdivision.