Oh, I have. Once for throwing stones at a greenhouse - shortly after the train episode above. I remember my red-faced father marching me from the Council offices (he was Town Clerk) into the Juvenile Court next door....although let it be pointed out however that I've never been arrested (I've come damned close on one or two occasions though).
The second time was a couple of years ago, for cycling on the motorway on Tenerife. It is legal, but only if you are wearing hi-viz jimjams. I saw them go past me and give me a look, so I picked my bike up and legged it across the field to the parallel (but hideously bumpy!) road. They were waiting for me at the next roundabout.

No, it wasn't either of those.