Every person riding a bicycle, electric personal assistive mobility device, electric power-assisted bicycle, moped, or an animal or driving an animal on a highway shall be subject to the provisions of this chapter and shall have all of the rights and duties applicable to the driver of a vehicle, unless the context of the provision clearly indicates otherwise.
Many countries have enacted electric vehicle laws to regulate the use of electric bicycles. Countries such as the United States and Canada have federal regulations governing the safety requirements and standards of manufacture. Other countries like the signatories of the European Union have agreed to wider-ranging legislation covering use and safety of their term EPAC (electric vehicles)
On the other hand, the battery doesn’t lock into the bike, which means you can’t just leave it on your bike when you park at the bike rack. Anyone could walk by and simply remove your battery. That seems like an oversight to me, though perhaps the designers assumed that such a small battery would just be easy to take with you. And it is. My wife could probably lose this battery in her purse.