He is undercover as a detective