(a) A dog determined to be a vicious dog may be destroyed by the animal control department when it is found, after proceedings conducted under Article 2 (commencing with Section 31621), that the release of the dog would create a significant threat to the public health, safety, and welfare.
(b) If it is determined that a dog found to be vicious shall not be destroyed, the judicial authority shall impose conditions upon the ownership of the dog that protect the public health, safety, and welfare.