Two men have been charged with robbing an unemployed man who had a syringe held to his neck after he collected his dole money.
The alleged victim was foll-owed from the GPO and "lured" down a side street, where he was threatened with a needle and had his cash and phone taken, a court heard.
Mark Mosley (28) and Glenn Douglas (20), who were arrested hours later, appeared before Dublin District Court charged with robbery.
Mr Mosley, with an address at a north city centre hostel, was refused bail, while Mr Douglas was granted bail subject to independent sureties.
The prosecuting garda told Judge Flann Brennan the incident happened at Harbour Court, off Abbey Street Lower, on Monday.
He said force was used during the robbery, in which the man had a syringe held to his neck and he suffered minor facial injuries.
It was alleged he was foll-owed after he received his social welfare payment at the GPO and lured to the location, where he was robbed of €125 and his phone.
The alleged victim described his assailants and CCTV footage was viewed.
The accused were wearing similar clothing, the garda said. He objected to bail in both cases.
It was not alleged that Mr Douglas played the major part, his solicitor John Quinn said, in applying for bail.
The garda said it was alleged that both men used physical violence and had their own part in the robbery.
Judge Brennan granted Mr Douglas bail in his own bond of €500, with two independent sureties of €500, or cash in lieu.
Mr Mosley was presumed innocent, his solicitor Kate McGhee said. She said the CCTV was not "fantastic quality" and nobody could be identified.
The garda said it showed Mr Mosley's face and he recognised him. The money and phone were not found.
Mr Mosley could live with his aunt in the Glin estate in Coolock if granted bail, Ms McGhee said.
He was "absolutely denying" the charge, she added.