A Dublin man has been accused of threatening filling station staff while wielding a hammer during a raid that left staff "traumatised".
Michael Doherty (39) is alleged to have stolen cash from shop workers in a robbery at a garage in the west of the city.
He is facing trial after a judge decided the case was too serious to be dealt with at district court level.
The case against him was adjourned at Blanchardstown District Court for the preparation of a book of evidence.
Mr Doherty, of Kilclare Crescent, Jobstown, Tallaght, is charged with robbing a woman, taking €520 in cash.
The offence is alleged to have happened at a Maxol filling station on Newcastle Road, Lucan, on March 31, 2017.
Garda Sergeant Geraldine McManigan said the DPP had consented to the case being dealt with at district court level, subject to the judge considering the issue of jurisdiction.
Judge David McHugh asked for an outline of the prosecution's case.
Sgt McManigan said it would be alleged that the accused parked up at a nearby pitch and putt club and proceeded to the filling station.
It was alleged that he partially covered his face and entered the shop with a hammer.
There were two staff members present and it was alleged he threatened them and took €520, the sergeant said.
Neither staff member was physically assaulted in the course of the alleged robbery.
Judge McHugh asked Sgt McManigan if there was any information on the mental state of the staff after the incident.
"They were traumatised," she said.
"It's my call," the judge said. "I refuse jurisdiction."
He said he would adjourn the case for the DPP "to consider her next move".
The defendant was remanded on continuing bail, to appear in court again on a date in October. The judge assigned free legal aid after the accused's lawyer said Mr Doherty was unemployed. There was no garda objection.
Mr Doherty has not yet indicated how he intends to plead to the charge.