And the Patrick Dorismond case was not.
The very nature of undercover police work tells me that there is a good possibility nobody in the car knew who those undercover officers were. That case in Georgia a few weeks ago involving the 92 year-old woman who shot a couple of cops breaking into her house is a good example of what can happen in situations like this.
...and then there's the case in NYC where the undercover gun buy went bad and the two officers were shot execution style.
cops are well aware that there are very, very bad guys out there.
undercover work has value as a police tool, but it is high risk.