The Code Enforcement Officer shall give reasonable written notice to the owner(s) of his or her intent to examine or inspect any building or property and shall enter only with permission of the owner. At such time, the Code Enforcement Officer shall have the right to enter upon, examine and inspect, or cause to be entered, examined and inspected, any building or property for the purpose of carrying out his or her duties, and to determine the compliance by request with the provisions of this chapter. If such permission is denied, the Code Enforcement Officer shall contact the Town Attorney to pursue appropriate legal action necessary to gain entry for the purposes of examination and inspection of the building or property in question.