A man drunkenly armed himself with two snooker balls in socks as he mistakenly thought he was under threat from a group of youths outside his home.
Patrick O'Carroll (41) left the house with the two home-made weapons, but claimed he didn't know what he was doing with them.
A court heard the youths outside his home were in fact friends of O'Carroll's son.
Judge David McHugh ordered a probation report and adjourned sentencing to July.
The judge said he had concerns about the type of adapted weapon that O'Carroll had in his hand.
Judge McHugh also said the effects could have been catastrophe if the weapon had been thrown at someone.
The defendant, with an address at Beechfield Lawn in Clonee, admitted before Blanchardstown District Court to possession of two socks with snooker balls in them.
The incident took place at Phibblestown Road in Clonsilla on March 23 last.
Sergeant Maria Callaghan said gardai were on mobile patrol when they came across O'Carroll who had a sock in each hand, each sock containing a snooker ball.
Sgt Callaghan said O'Carroll had been involved in an earlier domestic incident.
The court heard that the defendant had never been in trouble before.
Defence solicitor Liam Cadogan said the defendant is a social drinker but on the night in question he'd had an awful lot to drink.
Mr Cadogan said O'Carroll does not remember why he put the snooker balls into the sock.
He said the defendant's mother died shortly before this incident, and he was still grieving her loss.
The court heard that there had been a dispute in the family home earlier in the evening and O'Carroll had left the house.
Mr Cadogan said O'Carroll said a group of youths had gathered outside the house, and the defendant was under the drunken illusion that they were being threatening towards him.
Mr Cadogan said the youths were in fact friends of the defendant's son.
The solicitor also said this incident was totally out of character for the defendant, who is working as a manager.