If you don’t run a slaughterhouse, a veterinary clinic, an animal shelter or a licensed circus, then you have no right to keep a potbellied pig within city limits, a Philadelphia judge has ruled.

In his recent opinion in City of Philadelphia v. Saunders, Judge Robert S. Blasi put the issue to rest: The porcine creatures — lauded by those who own them as pets as being as friendly as dogs and as easily housebroken as cats — are considered farm animals for the purposes of the city’s relevant ordinances.