Cop gets a taste of his own medicine