31. Custody of the dog is maintained until the dog has been returned to its owner or custodian.
Except if the dog has been seized to execute an order rendered under the first paragraph of section 10 or subparagraph 2 or 3 of the first paragraph of section 11, or if the municipality renders an order under one of its provisions, the dog is returned to its owner or custodian
(1) if, as soon as the dog has been examined, the veterinary surgeon is of the opinion that the dog does not constitute a risk for public health and safety, or as soon as the order has been executed; and
(2) if 90 days have elapsed since the date of the seizure without the dog having been declared potentially dangerous or, before that time limit expires, if the inspector has been notified that there is no reason to declare the dog potentially dangerous or that the dog has been declared potentially dangerous.
1162-2019O.C. 1162-2019, s. 31.