A man has avoided a conviction despite admitting attempting to rob a taxi driver and threatening him after drinking 18 pints of beer.
Lloyd Smith (24), who pleaded guilty to attempted robbery, paid €1,500 in compensation to the taxi man and was placed on a probation bond for a year.
Smith had been socialising with another person before they both got into the taxi to take the accused to his home in Swords.
The defendant, who was in the front seat, "had words" with the driver, grabbed him by the neck and threatened him.
A struggle ensued and the driver managed to force the defendant out of his car, Swords District Court heard.
The taxi man's ordeal was captured on the dash cam, and the second passenger, who took no part in the incident, gave gardai a statement.
Sgt Anthony Nulty said the driver was left badly bruised but did not require medical attention or lose any money.
Smith, of St Cronan's Court, Swords, pleaded guilty to attempting to rob the taxi driver at his home address on November 11, 2017. He had no previous convictions.
Defence solicitor John Hennessy said his client, who works as a part-time horticulturist, had drunk "a huge amount of beer - 18 pints - to mine and the court's disbelief".
He said Smith had a drink and illicit substance problem which he now had a clear insight into.
"He has handed in clean urines to show he isn't engaging in substance abuse and has made many expressions of remorse in his interviews with gardai," said Mr Hennessy.
"He has raised €1,500 in cash for the taxi driver. This won't compensate him for the frightening event, but it is a genuine expression of remorse.
"He is motivated and has done everything he has been asked to do by the court and Probation Service
"There is no badness in him - chaos, yes - but he is asking for a chance."
Judge Dermot Dempsey placed the defendant on a one-year probation bond on condition that he complies with all requirements of the Probation Service and attends Crosscare Addiction Services when a place becomes available.