No. Since both of your examples are hires and not elected officials, I'd want the employees reassigned. I'd suspect that it would take out-of-control judges to stop such reassignments.
I suspect the gay couples weren't looking to get married (they could've gone to another court), they were looking to marginalize Christian doctrine. Since there were alternatives, I don't understand how the judge's action was anything except a slam at Christianity.
I tend to believe you have presented the salient ‘air’ about this situation. The queers were not truly/honestly concerned about their ‘marriage’. They were out to break down any resistance to their desires. There were other places/clerks that would accommodate their plan for a marriage but they like what has been going on for years wanted to break down any remaining resistance to their Sodom-Gomorra perversions. There are elected and appointed judges of the same perversion.