I know it's easy to program the Bafang with the config tool in 9 different levels. You could have 1 of these levels comply to the EU rules of 250W and 25 kmh.
However, would it be possible to create a physical switch on the bike that would override these 9-level program and just limit the...