I agree with Lisa,
If you eventually put the dog in the back yard of the flat why didn't you just do this in the first place??
Even I cannot stick being in a non-moving car in this humid sticky weather so there's no way I would leave my German Shepherds in the car. They are best left at home...