Here in San Francisco, there a huge number of "e-bikes" that are designed, built, and sold as de facto illegal motorcycles, with only the paper-thin wink-nudge of a speed limiter that can be easily removed by the user, sometimes with online listings literally advertising the top speed without the limiter up front.
The city's treatment of traffic danger is comically bad, but these "e-bikes" aren't kids gallivanting around, they are traffic danger - usually by way of gig workers without insurance ignoring all traffic laws because they're riding "e-bikes" (with the speed limiter pulled out).