My kids went to Catholic school. It was well known that if a teacher did not abide by by Church teaching especially in public they were gone.
Of course, with this Pope, who knows what “Catholic Teaching” is now.