I suppose the professor should have just given her an “F” and let it at that. Though reading the story it’s hard to tell if she was actually kicked out of the class.
It sounds like the student felt she didn’t have a “safe space.”