McDonalds is to blame for this. Their slogan is, "Have it your way."
Therefore, as a customer, if I want the store to stay open passed closing time, I should have it my way. If I want breakfast after they are no longer serving breakfast, I should have it my way. This is typical big corporation trying to infringe on the rights of citizens.