He should have recused himself because he is gay. He should NOT have ruled on this.
When the judge is queer, you get queer decisions. What would you expect from a California court?