The Kerala High Court, quashing a case against a school teacher for allegedly beating a student in her class, pointed out that teachers are now working under threat of a criminal case being registered against them.