The legislation allows that. It just says that batteries have to be available and replaceable by non-specialists using standard tools. Think a small torx screwdriver, maybe a spudger, no glue type of situation and definitely no soldering or crypto-locking batteries to the mainboard and CPU so even specialists can’t replace stuff without signing their first-born to the manufacturer (hello Apple).