Perhaps there was a cheeky bit of intent in what Boris did.
Stories of over-officious coppers handing out fines - pop in the car and drive 7 miles to a safe place to cycle - makes a point and quite publicly that the law actually allows it and the coppers had gone over the top.