Hashing power is not directly equal to power consumption
Sweden may hypothetically purchase miners 2x more efficient than the average miner and therefore need only half their countries power output.
In addition I would be surprised if Sweden can't source power from other countries ( prove me wrong I'm not sure on this one)