Well, actually...
Greenhouses do keep warm in part by the same "greenhouse effect" as happens with our atmosphere. The overall spectrum of light energy from the sun passes more easily through glass than does the infrared energy that is re-radiated from heated objects within the greenhouse (or car). This is amplified by the reduced convection.
Hyperphysics"
