A man stole a £280 bike from Spalding Railway Station when he went there to do court ordered community service work.
Carlos Jarvis (18), of High Road, Whaplode, had no way to get home so snapped the lock on the bike, pedalled back to his village and threw the bike in a drainage ditch.
But the theft was caught on CCTV and he was back before the court on Thursday.
Magistrates heard Jarvis has 37 hours and 15 minutes to complete from a 50-hour work order imposed by the court in July and added a further 60 hours with an extended community order to finish in October next year.
Jarvis, who pleaded guilty to theft, must pay £280 compensation to the bike owner, Sue Marsden, £85 costs and a £60 victim surcharge.
Presiding magistrate Ros Gulson said: “I suggest you learn the errors of your existing ways and sort yourself out.”
Marie Stace, prosecuting, said Jarvis went to the railway station to complete his community service work on August 12, but it wasn’t on that day.
She said he didn’t have the money to get home and looked at the cycles with a view to stealing one.
Solicitor Mike Alexander, mitigating, said the CCTV showed Jenkins going to and from the cycle three or four times before he stole it.
He said: “I think that shows he was in a state of mind where he knew what he was thinking about was wrong.”
Mr Alexander said the explanation Jarvis gave to police, that he took the bike to get home, was “relatively simple and straightforward but not really acceptable”.