The teacher gave the student a 10 on a roll, but not without consequences