Tim Hortons used to bake and make their products in store. Now they outsource their work to Maidstone which they sold off. They just "finish" their products in store. It leads to a more consistent product and controllable costs. I don't think it's better quality (it's lifeless), but more consistent.
http://www.theglobeandmail.com/globe-investor/investment-ide...
In the old days, I would simply just order what came out last from the oven. Because hot anything out of the oven is awesome. When it was a croissant, it is a jackpot.
Personally, I think people don't realize the extent of how "factory" like a lot of corporate chains are. Like how Montana's doesn't actually "cook" your vegetables, they just microwave a frozen pack and dump it on a plate. And this is a sit-down restaurant with waitresses and cooks.
My solution? I eat-in and plan out.