A man produced a machete during a row with his partner over his excess celebrations following his child's christening.
Darren Murphy (29) had continued the celebrations into the next day, and his partner was unhappy with him.
Judge David McHugh imposed a three-month suspended sentence.
The defendant, of Briarfield Road, Kilbarrack, admitted before Blanchardstown District Court to producing a machete during the course of a dispute last January 28.
Sgt Geraldine McManigan said gardai were on patrol when they were called to a dispute at Church Road, Mulhuddart.
Sgt McManigan said two individuals alleged they had been assaulted and Murphy had produced a machete.
The individuals - Murphy's partner and brother-in-law - later withdrew their allegations of assault.
Defence solicitor Simon Fleming said the incident took place "on the coat-tails of a domestic incident".
Mr Fleming said Murphy's child had been christened the day before and he had "taken the festivities too far".
He said Murphy's partner was furious and the pair got into an argument.
Murphy's brother-in-law then became involved and a machete was produced, but was not used.
Mr Fleming said Murphy had lost his construction job two weeks before the incident.
He made admissions to gardai about producing the machete, Mr Fleming added.