Here in France, the law is pretty clear : if it has 2 or 3 wheels and is propelled by the rider, then it's a bicycle. Trikes are bicycles too. There are a few extras : 2 mandatory brakes, lights if it's dark, reflectors, that kind of stuff.
As for e-bikes, the limit is 250W, 25 km/h, and the...