In Germany it's illegal to drive bikes that assist beyond 28km/h (about 20mph) in what are true bike paths (which can be built as lanes! And, notably, they can be marked as virtual-lane-shared (pictogram side by side with a vertical divider) or as true shared (pictogram above and below at a horizontal divider), if pedestrians are also allowed to use them.

An ancient gas-e-bike rating is allowed on them outside city limits but iirc those bikes are exceedingly rare since even before e-bikes became truly mainstream.