(a) If any violation of this article occurs, the dog shall be immediately confiscated by animal services or law enforcement. A refusal to surrender a dog shall be a separate violation. (b) A confiscated dog shall be returned upon owner's demonstration of future compliance with the rules that were violated, and payment of confiscation costs. If the owner has not complied within 20 days of confiscation or demonstrated a satisfactory plan to promptly comply, said dog shall be humanely euthanized. Criminal prosecution shall not be stayed due to return or euthanasia. (c) A dog that inflicts injury when used by law enforcement to carry out official duties shall not be a dangerous or vicious dog. Nor if any injury was sustained by a person who: was committing a willful criminal trespass, or was tormenting, abusing or assaulting the dog, or had in the past tormented, abused or assaulted the dog, or was committing or attempting a crime.