True, it's circumstances such as those where it's an exception that you shouldn't defend yourself, unless the police officers is literally trying to kill you.
I don't agree all too much with violence either, but you can only fight fire with fire.
If someone is trying to kill you you aren't going to sweet talk them to stop, you're going to use whatever is necessary to save your own life. That could include violence and even taking your aggressor's life. I believe violence is only justified in self defense.