IMO Class 2/3 bikes are more of a bike/moped hybrid than just bikes.
Seems to be more of, something must be done about kids riding OHVs on the road, but since that's already illegal let's try a law interfering with middle aged commuters on e-bikes.
At least in my area the kids riding wheelies down the street are on bikes sold as dirt bikes. Legally exactly the same as riding a 2-stroke motocross bike on the street.