That's generally done with thing like feral cat populations where there is some positive effect of the feral cats existing like rodent control. Also, just killing cats is way less socially acceptable than killing pigs.
> some positive effect of the feral cats existing like rodent control