As they are acting outside the scope of their employment/appointment/election, they should be sued personally and forced to pay for their own defense and personally pay any damages.
There is a federal statute just for this. Need to Google. I’ll add a citation.
Title 18, Section 242 makes deprivation of civil rights under color of law a crime (felony.) 2nd Amendment rights are fundamental civil rights.
Title 42, Section 1983 is the civil side, allowing civil suits for damages.
“Every person who, under color of any statute, ordinance, regulation, custom, or usage, of any State or Territory or the District of Columbia, subjects, or causes to be subjected, any citizen of the United States or other person within the jurisdiction thereof to the deprivation of any rights, privileges, or immunities secured by the Constitution and laws, shall be liable to the party injured in an action at law, suit in equity, or other proper proceeding for redress, except that in any action brought against a judicial officer for an act or omission taken in such officer’s judicial capacity, injunctive relief shall not be granted unless a declaratory decree was violated or declaratory relief was unavailable. For the purposes of this section, any Act of Congress applicable exclusively to the District of Columbia shall be considered to be a statute of the District of Columbia.”
Way past time for conservative public interest groups to be filing class action suits for damages against .gov officials at all levels who ignore our Constitutional rights.