That happened to me once! I was 15 and going to school, was riding a Lotus Eclair I'd fixed up. I entered the school zone and wanted to see if I could get over 25 mph. But there was a cop hiding and I got a ticket. I had to tell my parents, and I think they were impressed with my 31 in a 25 speeding ticket.
The best part was having to go to court, and the judge asking how I got a Lotus (she was thinking of a car) and then upon learning the truth, asking the officer why he was wasting his time stopping a kid on a bicycle.