I doubt there is one single answer.
It depends on each system in each Make/model.
But it doesn't matter as the manufacturers have allowed for this, there is a backup way to get in and start the car.
Search "Flat battery keyless entry" and see the many results.