A hospital patient had to be arrested when he refused to go home because he did not think he was ready to be discharged, a court heard.
Leonard Daly (41) felt he needed psychiatric help, had no taxi fare to get home and was "terrified" to make his own way.
He was fined €200 when he admitted a public order offence at Dublin District Court.
Daly, with an address at Hampton Street, Balbriggan, pleaded guilty to failing to comply with the directions of a garda at Beaumont Hospital.
The court heard that gardai went to Beaumont at 12.45am on May 16 this year. The defendant had been discharged from the hospital and failed to leave the building.
He wanted to re-admit himself and was asked to leave several times while gardai were there. He was not aggressive or violent, but "just wouldn't go".
"He wanted to be admitted to hospital because he needed some psychiatric help," his lawyer said.
A garda told the court that Daly had been seen by the psychiatric staff having been given a referral letter.
"He needed help on the night in question and was terrified to make his own way home," his lawyer said.
The court heard there was no bus service to his home from Beaumont and he did not have the money for a taxi.
He couldn't make the journey home and his solicitor asked the judge to be as lenient as possible.