A "prolific" offender caught selling stolen Ferrero Rocher chocolates in Dublin city centre told gardai he was trying to make "a bit of money" for his girlfriend's birthday.
Dean Masterson (30), described by a judge as a "recidivist criminal", already had 101 prior convictions when he was caught with the chocolates.
Judge John Hughes jailed him for a year.
Masterson, of Kilkieran Road, Cabra, pleaded guilty to possessing stolen property and other separate offences.
Dublin District Court heard that gardai saw the accused engaged in what appeared to be the sale of confectionery on Moore Street at 6.45pm last October 24.
They found Masterson in possession of seven boxes of Ferrero Rocher chocolates.
They had been stolen and when the accused was asked what he was doing, he said it was his girlfriend's birthday and he was "trying to make a bit of money".
He was charged with possessing stolen property but not with stealing the chocolates. Gardai were not able to identify the owner.
In an earlier incident, on October 6, gardai were called to Penneys on O'Connell Street where the accused was detained for shoplifting.
He had stolen €21 of clothing and accessories and was stopped as he left the store.
Masterson was arrested for threatening, abusive and insulting behaviour at Cow's Lane, Dublin 2, last May 25.
Gardai saw him and another man in a heated argument, and could hear the accused demanding money. He failed to calm down and was arrested.
Masterson was already in custody when he appeared in court.
Judge Hughes backdated the sentence to last November.