In CA, you do NOT need to have a license to ride a MB. You just need to be 16 years or older, wear a bicycle helmet, and stay on the bicycle lanes or portion of the road meant for bicycles. Do not go on bicycle paths, sidewalks, or roadways, unless to make a left turn or something. Oh and do not exceed 20 mph.
That doesn't mean you won't get hassled by the man. But if you are a smart rider, you won't do anything to attract the wrong attention to yourself.
I've been riding motorcycles since HS. Currently riding crotch rockets. Talk about a cop magnet! Chick magnet too BTW, but that's another story! Anyway, I've learned early on to not do anything to attract cop attention to my activity. When you drive a crotch rocket, you WILL speed. Everyone knows this! It's like flying an F16...you will go FAST! But knowing where and when to use the performance is the key to keeping the cops off your back.
Oh and it helps not to ride passed a bored motorcycle cop! LOL!