The students were called to the principal for a steamy session