There's lot of variables at play: which state or country you're in, where you were riding, how you were riding, the behaviour of both parties, how much cash the plaintiff and defendant have, what mood the judge was in that day, etc, etc.
Sadly there's extreme cases of highly irresponsible and illegal restricted Ebike use that resulted in death:
The so-called e-bike involved in a fatal collision with a pedestrian should have been labelled a motorbike, exposing a dangerous loop hole that needs tightening.
www.bicyclenetwork.com.au
The impact buckled the front wheel of the child's bike, and Green's dirt-bike helmet collided with the head...
www.canberratimes.com.au
In both cases the Ebike riders had no place riding on public footpaths, but as we know its the actions of the few with tar the many.
These are extreme examples but consider this hypothetical scenario. You're riding along a shared path, about to pass a pedestrian from behind. Now obviously common sense dictates you should slow right down and signal you're about to pass, but let's say you had your head in a work problem or family issue and had a momentary lapse. Suddenly they step into your path. You hit them, they fall and crack their skull on the pavement, resulting in death.
In this roleplay the prosecution may take very different lines of attack depending on whether you were riding (here in Australia) a legal 25km/h restricted bike or a derestricted bike. Hell, you may be acquitted in both cases but I know which I'd personally rather have been riding if I had the misfortune to end up in court. If you're found liable here in NSW you face potential financial ruin and/or time in jail.
It's another extreme and unlikely scenario but it's not beyond the realms of possibility. I pass dozens of absent minded pedestrians on my daily commute, most oblivious to the outside world thanks to whatever they're immersed in listening to. I've seen people's lives ruined from a split second rash decision (plus there's a lot of lawyers in my life) so my risk aversion means I'd never consider derestricting an ebike, but it's totally a personal decision for each individual to make.