A red brick building with a gray cooling tower in Malmo’s northern harbor has become a symbol of Sweden’s preparations for an uncertain future.

The mothballed power plant near the Oresund straits was set to be dismantled and shipped to new owners overseas.

Then the war in Ukraine upended the country’s defense policy, forcing a rethink of energy security plans.