If an animal control officer, health department representative or any law enforcement officer, has reasonable cause to believe that the keeping or maintaining of any animal is so hazardous, unsafe or dangerous as to require immediate inspection to save the animal or protect the public health or safety, he shall have the right to immediately enter and inspect such property, and may use reasonable means required to effect such entry and make inspection whether or not permission to inspect has been obtained. If the property is occupied, he shall first present proper credentials to the occupant and demand entry, explaining his reasons and the purpose of the inspection. Failure to permit inspection shall constitute a misdemeanor.