The plan, part of the EU’s pledge to quit Russian fossil fuels by 2027, comes in response to the ongoing war in Ukraine.