A man handed himself into a garda station two days after robbing a shop because the offence had "bothered" him so much
Mark Ward (26) will be sentenced later at Dublin Circuit Criminal Court.
He turned up at Harcourt Terrace Garda Station to say he was handing himself in after robbing a Spar shop on South Richmond Street.
Garda Laura Byrne revealed that Ward told a colleague the robbery had bothered him because he had committed the offence armed with what he claimed was a screwdriver.
Ward, of Abbeywood Court, pleaded guilty to robbing €270 cash from the South Richmond Street Spar on June 14, 2009 and to robbing €300 cash from a Finglas Xtra-Vision on May 27, 2009.
He has seven previous convictions for robbery and public order offences.
Garda Byrne told Gerardine Small, prosecuting, that the cashier in Spar told gardai Ward had threatened him with a syringe to make him open the till, but Ward was adamant he had used a screwdriver with a clear handle.
Garda Byrne said the cashier, who has since returned to Pakistan, followed the raider as far as Portobello Bridge after the robbery and saw him get into a taxi.
Ward later told gardai he had spent the cash on a cab and four bags of heroin and that he was sorry for putting the Spar worker in fear.
Garda Byrne agreed with Marie Torrens, defending, that her client hadn't been identified from CCTV stills taken from the shop before he handed himself in.
She further agreed that the original sentence date for this case had been adjourned because Ward was in the Central Mental Hospital at the time.
Detective Garda Maureen Munally told Ms Small that she arrested Ward while he was on remand in Cloverhill Prison after nominating him as a suspect for the Xtra-Vision robbery following his admissions to the similar offence at Spar.
She said he had threatened the lone Xtra-Vision staff member with a syringe and a craft knife before taking off with €300 from the till.
She agreed with Ms Torrens that Ward didn't answer any questions about this robbery after arrest because he said he couldn't recall the incident.
Judge Desmond Hogan adjourned sentencing until next year pending a probation and welfare report.