Agreed on last part, however if i were a wanted felony, and suddenly the warning through megaphone "Please close your doors, LAPD is sending in a K-9 police unit. Prepare for the dog to bite on sight." (They repeat on spanish aswell), i would be scared shitless and most likely surrender. However let's imagine the situation you are talking about, a felony runs rapidly away from the police, armed with a cooking knife. Police sends in the dog, and he suddenly attempts to hit the dog with the knife. In that order the police would draw their weapon and force the suspect to the ground. Denmark had a situation with three bankrobbers, where a police K-9 units stopped them, afterwards pursued them. The robbers shot 8-10 gunshots towards the officers, and hit the dog. The dog died, however the officers responded fire with unknown number of bullets (But i'm damn sure they fired loads of bullets towards these scumbags).