The cop just took law into his own hands