Why couldn't countries just keep dirty coal generators and coal delivery infrastructure mothballed such that if power delivery from the other country is cut, just spin up the coal plants for a while until it gets sorted out. The cost of all of that may be less than the cost savings of importing electricity from a far-away country.