Technically Not Inaccurate.

Favorite
calling a teacher a muggl,calling a teacher a muggle,detention slips,g rated,Harry Potter,muggles,School of FAIL
- -

Unless they were mistaken in their assessment and the teacher was indeed a wizard, in which case they deserve every minute of their detention sentence.