A moped rider failed a breath test after having drinks at a party - then getting bored and setting out for his Ilkeston home.
It left warehouse worker Lee Thornhill banned from the road for a year, fined £240 with prosecution costs of £85 and a £24 government surcharge.
He appeared before magistrates in Nottingham after being checked by police on Canal Street in the city on March 20.
Bill Soughton, mitigating, said: “He has a job as a warehouse operative and that is within pushbike distance from where he lives. He is not going to lose his job.
“He had a couple of drinks, not a huge amount, frankly. The party was not very good so he thought he would leave. He didn’t feel over the limit and got on the moped.
“I don’t think there is any suggestion that he was driving poorly. It seems to be a random stop by an officer wondering why a moped was out at that time of night.”
He said Thornhill had made “a genuine and simple miscalculation” about the amount of alcohol in his body.
Thornhill, 25, of Beauvale Drive, Cotmanhay, pleaded guilty to riding with 55 micrograms of alcohol in 100 millilitres of breath. The legal limit is 35.
Sanjay Jerath, prosecuting, said: “The defendant was on Canal Street and stopped by police driving a moped.” He failed a test at the roadside and another at a police station.
Presiding magistrate David Wilson told Thornhill: “Driving while under the influence of alcohol is a fairly serious matter.
“We have taken account of your lack of previous convictions and your early guilty plea.”