I read that off road switches aren't allowed;
"Derestriction, ‘off-road’ switches or modes and dongles
The Department of Transport say that electric bikes fitted with off-road switches or modes, that enable to bike’s motor to continue assisting to speeds beyond 15.5mph, do not comply with UK...