We're talking about the accommodation of long-standing, provable religious beliefs that conflict with job requirements that are easily accommodated.
How to accommodate a magistrate not performing a homosexual wedding? You have a list of those who will and those who won't. When the issue comes up, you call one of those who will.
It's not rocket science.
As an army chaplain, we had a large number of allowable accommodations for religion that could be made for those from different religious groups. For example, what does it really hurt for a conservative Jew to wear a yarmulke? What does it really hurt for us to have kosher MREs?
I would want a magistrate to fulfill the laws as they are written. He’s not sending people to labor camps. It’s a non-religious ceremony.
I don’t want a Muslim magistrate to refuse to charge someone who is Muslim because it violates his religion.
What about a muslim taxi driver refusing to accept a passenger carrying booze?