Well, he just has to have active sexual intercourse in front of the judge with multiple witnesses. What's the problem, I mean if that's his lifestyle he should just prove it ¯\_(ツ)_/¯
(/s - seriously, how more obviously homophobic can the judge be)
The problem with having to prove you're gay is that most gay people don't live their lives collecting documentary evidence of their gayness. So you unless you have contact details for a whole load of same-sex partners willing to testify that you banged, you have to contrive evidence. And then the fact that the evidence looks contrived counts against you. You can't win, and the law is an ass.
There is no such thing as a "good conservative". Conservatism is a plague of oppression and death that is long overdue for a cure.
I do not believe there is a peaceful solution to this disease. As long as conservatives continue to exist on earth, LGBTQ+ people and other oppressed classes will continue to be persecuted.