The officer caught a pervert and got what she wanted