Mr. Monk and the Panic Room - S3-E2
Factual error: The cops gain entry to the panic room to be faced with a chimp waving around a loaded handgun, apparently having shot a man, and shrug and make jokes about reading him his rights, instead of expressing the slightest concern that this animal might shoot them. Cops shoot remotely aggressive dogs all the time, but an ape with a gun doesn't even make them raise an eyebrow. Plus the police never did a gunshot residue test on the chimp. Standard procedure, and would've proven they didn't shoot.
Answer: This is later, as the building appears to be Arkham. He's committed there instead of going to jail based on his insanity. It appears he is laughing about the death of Thomas Wayne, we see a flash of that scene again for a reason.
lionhead