An apprentice butcher who was showing his friends a stun gun while in the car park of a shopping centre did not realise he required a firearms certificate to have it.
Samy Lamari (20), who has no interest in guns, was given the stun gun by a friend who had brought it back from a visit to Spain.
A ballistics report later showed that the stun gun was not charged properly, but gardai were called as Lamari and his friends were observed acting in a suspicious manner.
He was identified on CCTV footage from the shopping centre car park, and when gardai called at his home he made full admissions of being in possession of the stun gun.
Sgt Tony Tighe said Lamari was simply in possession of the firearm but it was not an incident where people were put in fear.
"There was nothing sinister going on. He was simply in poss- ession of the stun gun," he said.
Lamari, of Ringfort Avenue, Balrothery, Co Dublin, pleaded guilty to unauthorised possession of the stun gun without a firearms certificate.
Defence solicitor Fiona D'Arcy told the court that her client did not realise that having it required a licence issued under the Firearms Act.
"He accepts now that it is a firearms offence but he has no interest in the stun gun," said Ms D'Arcy.
She said Lamari had it in his car and was simply showing it to his friends.
Sgt Tighe agreed with Ms D'Arcy that Lamari was not using the stun gun in a threatening way.
Ms D'Arcy said he has a three-year-old child and is anxious about having a conviction for a firearms offence.
"He sincerely apologises for his actions," she added.
Judge Dermot Dempsey ordered a Restorative Justice Report on Lamari for early next year and said that if it is a positive report and Lamari makes a €300 charitable contribution he may "take a certain course".