Enforcement officers shall have the right to enter upon private premises for the purposes specified in Section 1141.05, upon proper identification and in compliance with all applicable provisions of law. Unless it appears probable that advance warning would defeat the purpose of such entry, occupants of premises to be entered shall be given reasonable notice in advance, and in any case, no owner or occupant shall prevent such entry which is sought to be made in compliance with law.
(1975 Code Sec. 11-6)