A few years ago, gunwriter & tactics trainer, Massad Ayoob wrote of a uniformed cop in AK, who removed a loaded SIG P220 .45acp from a security box. The hammer caught the edge of the container and was cocked.
The officer later drew the pistol in a field interview event then had a ND.
The cop now uses a DA only spurless design.
As stated, cops and security guards are not robots but they need to be careful.