i had this happen twice - both times with National - during a month rental. The registration expired mid way through the rental so they had a replacement car towed out to my hotel and took the old one back.
I would have thought that the rental agency's system would have known better than to rent a car for a month if the reg was about to expire. anyways, now I make sure myself