(a) A dangerous or vicious dog shall be immediately confiscated by any dog control officer or by a law enforcement officer in the case of any violation of this article. Any dog, even an unclassified dog, believed to pose a threat to public safety, shall be immediately impounded. A refusal to surrender a dog subject to confiscation shall be a violation of this article. (b) The owner of any dog that has been confiscated pursuant to this article may recover such dog upon payment of reasonable confiscation and housing costs and proof of compliance with the provisions of this article. All fines and all charges for services performed by a law enforcement or dog control officer shall be paid prior to owner recovery of the dog. Criminal prosecution shall not be stayed due to owner recovery or euthanasia of the dog. (c) In the event the owner has not complied with the provisions of this article within 20 days of the date the dog was confiscated, such dog shall be destroyed in an expeditious and humane manner and the owner may be required to pay the costs of housing and euthanasia. (d) A dog that is found, after notice and opportunity for hearing, to have caused a serious injury to a human on more than one occasion shall be euthanized; provided, however, that no injury occurring before July 1, 2012, shall count for purposes of this provision.