The law is pointless unless it is enforced.
Reality - the police do not routinely enforce the law so far as either electric bikes or scooters are concerned. They may do in the event of a serious accident - otherwise infractions are ignored.
Police have lots of other pressures on them and need to prioritise. Failing to wear a helmet and riding on the pavement doesn't get high up the list.
Yep, as I noted above, I personally witnessed dozens of scooters zip past the police just this week.