Good question.
In a civil society, it is wise to remain calm and cooperative before the police, because confrontation will only cause the police to escalate force. In extreme situations, where police snipers are deployed, one is much safer if he does not carry a weapon. The best place to challenge the police is the court.
It is very annoying to be stopped by a speed cop, but we do not fight him because we know that he has the overwhelming forces of the State at his back.
Russell, Bertrand. An Outline of Intellectual Rubbish. 1943