Edit to add: the real military equivalent is a WG/CC writing an illegal sup to a reg that violates Constitutional rights of airman. Someone has paper to hide behind and enforce it, but that doesn't make it legal/right. Takes some balls to stand up to him, but it should be done.
I agree that politicians are ultimately to blame. They pass laws that are blatantly unconstitutional and face zero repercussions. Like in the case of the California gun laws I mentioned, courts should start holding politicians in contempt for violating the law. Or I'd love to see someone arrested under an unconstitutional law sue the sponsor lawmaker personally. Not the state or city, but the person that was responsible. Might get politicians to think twice about passing bad laws.