Massachusetts’ highest court has ruled that officials may enter private property without a search warrant to rescue animals “in appropriate circumstances.”

Ruling on an issue of first impression for the state’s high court on Friday in Commonwealth v. Heather M. Duncan, the Massachusetts Supreme Judicial Court said that, “in appropriate circumstances, animals, like humans, should be afforded the protection of the emergency aid exception.”