Oh I've seen some ebikes......adapted? They used the magnet on the inner crank trick.No need to look any further.
That’s precisely the cause of your problem. What they’re really trying to tell you is that you’re hogging the lane... That’s a cardinal sin.
Chip your bike and no one will utter a single word any more.