A man accused of stealing more than €200 worth of whiskey and vodka from a shop told the arresting garda he was on his way to a house party, a court heard.
Patrick Paget (32) was allegedly stopped with the drinks in a foil-lined shopping bag by gardai, who then objected to his bail.
Judge Colin Daly granted bail and adjourned the case at Dublin District Court.
Mr Paget, of Silloge Park, Ballymun, is charged with stealing alcohol and possession of an article for use in the course of a theft.
Dublin District Court heard gardai arrested the accused on suspicion of stealing from Tesco, Clarehall, at 5pm on May 16.
It was alleged he had a foil-lined shopping bag with three bottles of vodka and one bottle of whiskey worth €209.
"When stopped, he told me he was going back over to a house party," the prosecuting garda said.
Defence solicitor Sandra Frayne said the accused had not said this, and there were "matters that are in dispute".
Objecting to bail, the garda cited the seriousness of the charges.
The accused had seven-month and 18-month-old children and was living with his partner, who was the mother of his children, Ms Frayne said.
They were living in a Focus Ireland hub in Clontarf provided by the State, and the accused was second on the Dublin City Council housing waiting list.
Paget had "a lot going on" and there were "a lot of positives" for him, Ms Frayne said.
"He has a lot to support the fact that he would turn up in court rather than miss it," Ms Frayne said.
The accused said his current address was "not temporary" but was "until I get my house in the next two weeks".