As for the cop, while I applaud his motive his action was plain dumb. He gives the appearance of using the weight of the badge to gain access to a locked classroom. At the very least he likely violated departmental procedures and rules.
If I recall my radio car days correctly we were bound to our sector for the duration of the tour, even when coded out 10-63(out of service-meal). This officer was in uniform, in a RP and out of his sector. He will be reprimanded.
As for the "teacher"...he is a POS who should be fired.