The whole class, including the teacher, and minus the one student who lives in reality, need to be made to take a basic human biology course, with an emphasis on DNA and genetics.
I think they need to take an ethics course regarding lying.
Better yet, every time they lie and claim a man is a woman, they need to be punched in the mouth and told to stop lying.
Negative reinforcement works pretty well.