The law allows for exceptions. Try telling flipping the bird at a cop, or telling a judge to KYA.
I think you can flip a police officer off, but the later, in a courtroom, would be contempt of court.
Out in the world, you can flip a judge off without a problem, I would think.
The first is: http://www.deathandtaxesmag.com/193157/federal-judge-rules-flipping-off-cops-is-legal-lawyer-calls-it-a-civil-rights-victory/. The second, I'm not sure of.