I don't deny that she was in violation, but if the firing had been genuine, it would have been concurrent with an investigation into academic fraud, at several levels.
She had to be fired, that was clearly the only option. It also should have raised the question of how she got the job in the first place.