Both countries applied for EU membership in early 2022, soon after Russia launched its invasion of Ukraine.