An undercover agent got intimate with her colleague's booty to keep his secret