...the handlebar display to alter the settings, then one might have a problem, but just having the ability to change settings via software/laptop/dongle etc surely doesn't in itself make the bike illegal?
I mean, on my 250w 36v TSDZ2, I could if I wished fit a larger voltage battery and alter...