Agreed, I have been in similar scenarios where some joker is in my gated yard in the dark in the middle of the night banging on my window.
You do not just blast away.
One was an idiot friend, another was a stranger.
Both drunk.
I hear you. I wouldn’t even put my finger on the trigger until I had identified my target. This policeman made a mistake that imho, is entirely unacceptable.