Refigerators commonly have a compressor to cool the freezer, and then a heat exchanger to equalize between the freezer and the fridge.
So the freezer can store energy by working extra hard bringing things down from -5C to -20C whenever it's expedient, and the equalizer keeps the fridge in its usual temperature range. Nothing spoils, and you don't even have to notice.