Yes, the cops were there because of an illegal law but you don't pull a gun on cops no matter what. All you'll accomplish is getting yourself shot. There are ways to fight illegal laws but getting killed isn't a smart one. The guy was an idiot.
We don't know he "pulled a gun on cops"
We know that's what the cops said about the dead guy.
He can't refute the story.