The students were called to the principal's office for a steamy session