Can’t imagine that’s written into the police code of conduct.
Anyway, I expect the officer will still be disciplined, possibly even sacked, for failing to show restraint. That said, put me in that situation and I’d probably do the same (in fact, I’d have probably been one of the officers spark...