FWIW, you can "switch" between Class 1 and Class 2 riding by just not using, or disconnecting (plug and play on most bikes, I think) the throttle 😉.
Not sure how you would switch between Class 1 and 3, since, if the motor CAN go 28mph, it's automatically Class 3, whether you ARE going that fast...