A federal district judge in San Francisco has scheduled a hearing Monday over whether the retired federal judge who struck down California's ban on same-sex marriage should have his ruling wiped from the legal record because of his relationship with a man.