There's a weird trope in this area that exporting is good and importing is bad. Except of course they exactly balance each other. Someone has to import your exports.
It's a Trump-level analysis of the benefits of trade.
Sweden has lots of nuclear and wind both of which can be turned off, but in general it's much better for everyone to sell your excess if you have a willing trade partner and an interconnect. The rest of their grid is mostly hydro which has some amount of storage built in but also sometimes is equally "use it or lose it".
https://www.svk.se/om-kraftsystemet/kontrollrummet/ is a wonderful resource