An out-of-work hairdresser who slapped a garda in the face had been in a "revolving door" of repeated prison sentences, a court was told.
Rosaleen Cody (47), who had 243 convictions, admitted assault when she appeared at Dublin District Court.
Cody, of Rathgar Road, Rathgar, also admitted public intoxication and threatening, abusive and insulting behaviour.
Judge John Hughes adjourned her case for a pre- sentence probation report.
The court was told gardai attached to the public order unit were on duty on Grafton Street last May 21 when they received reports of Cody being in a highly intoxicated state in Brown Thomas.
When gardai spoke to her about another incident, she became abusive and was arrested and taken to Pearse Street Garda Station.
In the course of a search, she hit a female garda's face with an open hand. The officer was not injured. Cody attempted to apologise the next day.
The court was told her previous convictions included seven assaults, 19 thefts and 36 public order breaches.
Her record did not make pretty reading, said a garda.
Cody had previously been given prison sentences, which had become "something of a revolving door", Colleen Gildernew, defending, told the court.
She would be released from the Dochas Centre at Mountjoy Prison and spend a few nights in a hostel, but there was "never anything set up", said the lawyer.
On previous occasions, probation reports had been ordered, but Cody had not been in a position to engage with the probation service, and judges said they had no option but to jail her.
However, things were "dramatically better" now, said Ms Gildernew, and Cody was "more settled".
Ms Gildernew asked Judge Hughes not to jail Cody, saying it would disrupt the progress she had made.
Judge Hughes remanded Cody on continuing bail to appear in court in June for the production of a probation report.