The dog bit him. If its smart enough to give its smart enough to take. If a dog was attacking me I would do everything I could to stop it.
In most jurisdictions, attacking a police dog is the same as attacking a police officer.
That is, it is felony assault.
But if you ever have the opportunity to explain your philosophy to a judge, I'm confident that he would give it the appropriate consideration.
Uno