So that justifies shooting him?
Yes, if that was the reason for shooting. There could be other valid reasons, as well.