The teacher, who is in his 50s, was accused of causing his A-level students, aged 17 and 18, “emotional harm”.