Or...
In the end, all of the energy that goes into the mining rigs becomes heat. Sweden could mandate that all Swedes heat their houses using mining rigs. The houses get heated just the same*, but each household is subsidized by the crypto crowd.
*Not really. Heat pumps are a more efficient way to heat structures with electricity than ohmic heating.