The move comes two years after both countries applied for EU membership in the wake of Russia’s invasion of Ukraine.