I once saw German police officers at a police shooting range (it's not public but I knew a participant). Shooting without identifying themselves as police and demanding to drop the weapon led to them failing the test immediately, independent of the behavior of the other party.