It is a long time to 2040.
Enough time for someone with brains to reverse that decision.
Because their economy will collapse.
No nation can be prosperous when their energy costs are multiples of the rest of the world.
Moslems on the dole will probably collapse their economy before then anyway.