(a) Any employee or agent of the county or a constitutional officer of the county empowered to perform any duty under this chapter is hereby authorized to go upon any premises to seize for impounding a dog or other animal which the employee is in immediate pursuit of, with the exception of any occupied building into which the dog or other animal may enter. In the latter case, if the occupant or owner of the premises gives permission to enter the premises, the employee or agent may remove said dog or other animal. (b) It shall be unlawful for any person to, in any manner, interfere with, hinder, resist, obstruct, or molest such employee or agent in the performance of his or her duties, or for any person to remove any animal from the animal services vehicle or animal shelter without the permission of the said employee or agent.