Japan. All bikes must be registered with the local government. Bikes are one of the things police are vigilant about bikes. Police routinely pull over cyclists, especially if you’re a foreigner, to confirm you are the owner of the bike.
Driving a bicycle while intoxicated is also treated just like driving a car.
Electric bikes going 25km an hour or faster, or have larger than a 250watt battery needs to be registered as a motor vehicle. You’ll need a driver’s license, insurance, etc.