You don't know that. The woman was doing her job, enforcing school rules, which she probably had no part in creating.
(1) just did her job without applying any common sense while failing to question the inflexible policy she was tasked with enforcing (which would make her similar to the Nazi Stormtroopers in one way now that I think about it--just not to the same degree), or
(2) bullying about a young man (17 is hardly a child) for the superiority high on which power-mad totalitarians thrive (a different trait that the aforementioned Stormtroopers may have possessed).