It had been in the works for a while, but now it has formally been adopted. From the article:
The regulation provides that by 2027 portable batteries incorporated into appliances should be removable and replaceable by the end-user, leaving sufficient time for operators to adapt the design of their products to this requirement.
Next iPhone is pretty solidly confirmed to be USB-C, barring something drastic, which would spell the end for lightning, unless I’m forgetting something.
From what I saw they confirmed there will be iPhones with usb-c, but not explicitly that all of them would. Though they also didn’t mention that anymore after the initial law announcement, so it might’ve just been an hypothesis that got scrapped along the way. We’ll see I guess, I’m in Europe so it doesn’t really matter either way to me.