This is exactly why the plaintiffs in this case wanted the judge to issue fines, not impose a jail sentence. The fact that the judge imposed a penalty that goes beyond what the plaintiffs demanded makes me wonder if his whole point here is to expose the idiocy of the case the plaintiffs have brought.
A good argument could be made that she ran for office to carry out the will of the government and the people at that time. She is an elected official and thus cannot be fired. The “new” law should not be applied to her retroactively. Her beliefs should be “grandfathered” in. Then if the people do not like the way she performs her duties they could run a candidate of their choice.