A. Except as provided in subsection B, a commercial establishment shall not sell or otherwise transfer a cat or dog within the limits of the city.
B. A commercial establishment does not violate subsection A if the dog or cat that is offered for sale or transfer is owned by:
1. An animal care services shelter;
2. An animal rescue organization that has demonstrated to the animal care services manager that it has implemented an ongoing sterilization program and an adoption program; or
3. A humane society or society for the prevention of cruelty to animals if such society is incorporated under the provisions of California Corporations Code sections 10400 and 5110 et seq.