An otherwise "affable man" who interfered as gardai tried to deal with a street disturbance had drunk too much whiskey at a family event, a court has heard.
Anthony Loftus (50) "should have known better" and moved on when gardai told him to.
Judge David McHugh gave him a three-month suspended sentence.
Loftus, of Ballyfermot Par-ade, pleaded guilty to failing to comply with garda directions.
Blanchardstown District Court heard gardai were on duty at Ninth Lock Road, Clondalkin, at 7.20pm on October 24. They were dealing with an incident and a crowd had gathered.
Loftus was at the scene and was asked to leave on numerous occasions. He was trying to intervene with other people in this separate incident and refused to move on, a garda said.
He was arrested and taken to Clondalkin Garda Station.
The court heard he had 25 previous convictions, some of which were for serious offences.
The accused apologised without reservation for what happened and was quite embarrassed, his solicitor Matthew Kenny said.
On the day in question, Loftus had been at several family events and drank too much whiskey
He had served a sentence in recent years, got out in 2015 and realised this latest offence could result in him returning to prison, Mr Kenny said.
It was a blemish on the "otherwise different path" Loftus had taken.
He presented as a friendly and affable man and had family members in court to support him.
Judge McHugh suspended the sentence for six months, on condition the defendant keeps the peace and is of good behaviour.