I just got back from the DMV where I finally got my Avanti Autopower licenced so I can ride legal, but guess what? New York says the Autopower is a motorcycle, not a moped because it can go 30 mph, so it has to be inspected. I also need a motorcycle licence, which I do have anyway, but a moped is not a motorcycle.
At the same time I licenced a Honda express, but that's still a moped. Go try to figure out what goes on in the brain of a bureaucrat.