There's a lot of misunderstanding about how C02 gets into beer and the temperatures at which Co2 is retained in beer vs. the headspace. The C02 by itself in one bottle of beer, at 0PSI pressure would fill almost 3 empty bottles of beer. The liquid absorbs much of this headspace Co2 in a chilled environment and retains it unless heated and (broadly speaking) agitated. If you prime at room temp you have roughly 1 volume of C02 that remains in the solution. In a closed environment, it means there's a much higher volume of Co2 in the headspace. Enter chilling. Chilled beer absorbs C02 much more readily and the C02 balances out between the headspace and the liquid. If you've primed it correctly and are shooting for 2.5 volumes, that's what you'll get once it all balances out. If you take it out of the fridge, SOME of that C02 in solution DOES release back into the headspace, but not all of it. It remains somewhat balanced and when you flash chill it (say for a couple of hours on ice) you generally have a beer with C02 volumes that you expected.
https://byo.com/stories/item/1132-master-the-action-carbonation
Edit: I realize this is at odds with what Peter says above, read the article I supplied and others to feel good about your understanding of the process and then you can decide for yourself what works for you. What I've experienced and read jives with what I'm explaining here, although in the era of pedanticism on the internet, I'm certain there are parts of my posts that can proven technically incorrect.
Here's an experiment that address the solubility of C02 in beer at different temperatures:
https://scholarblogs.emory.edu/eurj/files/2014/05/CO2Paper_Final.pdf