It is the other way around
Concerning an interracial marriage where the judge refused
"Judges have an obligation to honor their state and country’s constitutions and laws. Furthermore, judges are public officials. They are under an obligation to conduct their official duties in good faith, fairly and impartially. If they fail to meet these obligations, their actions can amount to misconduct. Such actions aren’t only damaging to the judge or the couples affected, but also to the reputation and integrity of public agencies and officials."
Judge Refuses to Wed Interracial Couple
Be it interracial or same-sex, the following applies.