Why do people do this?? I don't understand, if you can't take the dog out of the car for whatever reason - leave it at home!
I saw something similar a few years ago. We had gone to a craft fair and there was a tannoy message telling the owner of a particular car that their dog was suffering (it was the middle of summer) from the heat. The owners were told that if they were not back at their car within 5 minutes, the windows would be broken and the dog would be attended too.
For whatever reason, the owners didn't turn up, the next tannoy was 'too late, the windows have been broken and your dog is being attended too. The RSPCA are on their way'