A California judge who was appointed by Gavin Newsom ruled that a male