A woman in Stockton, California was caught on video walking her dog by holding the leash out the window of her car. But she technically did not break any laws.

Stockton’s animal services department and director Phillip Zimmerman could recommend a charge of animal cruelty under California Penal Code 597T:

597t. Every person who keeps an animal confined in an enclosed area shall provide it with an adequate exercise area. If the animal is restricted by a leash, rope, or chain, the leash, rope, or chain shall be affixed in such a manner that it will prevent the animal from becoming entangled or injured and permit the animal’s access to adequate shelter, food, and water. Violation of this section constitutes a misdemeanor.

This section shall not apply to an animal which is in transit, in a vehicle, or in the immediate control of a person.

Read more at CBS Sacramento.