Resisting an ON DUTY cop that is in your home illegally is different than allowing them in without a search warrant. I believe the court treated this as they would treat refusing to cooperate with a police officer that is giving you a bogus ticket. I can’t smack down a thug cop who is writing me a bad ticket either. I’ve got to take it to court.
They are seeing this as the same thing. But again, this does not include cases where you did not know they were cops. And in court they have to prove that you knew, or should have knew - if you did, in fact, shoot a few of them.
In that case you would only get a coroner's inquest.