A.
Any police officer or code enforcement officer of the Town of St. Michaels having reasonable cause to believe that a violation of this chapter exists that poses an immediate risk to the public health, safety, and welfare may enter onto the private property of any person to investigate the nature of the violation.
B.
Any police officer or code enforcement officer of the Town of St. Michaels having reasonable cause to believe that a violation of this chapter exists that does not pose an immediate risk to the public health, safety, and welfare shall request permission of an occupant of the property to enter onto the private property of any person to investigate the nature of the violation. If permission to enter is denied, a person properly authorized by The Commissioners of St. Michaels shall apply to a court of competent jurisdiction for an administrative warrant to enter upon the property.