Susan, the basic reasoning is sound, but you need to take it one step further, and place the cannister outside the car. I have used this maneuver many time. I place the can under my car, where it is not easily seen.
By the way, one could legally use a Ursack for this, as well, and I have done so, in this case tying it to the underside of the car.