(1) The owner or custodian of the dog has been convicted of a violation of any state criminal law and the crime was related to such dog; or
(2) Any local governmental authority has filed with the court a civil action requesting the euthanasia of the dog.