A young woman arrested for damaging her mother's front door threatened to "kick a garda's head in", a court heard.
Harley Wynne (20) had been abusing alcohol and tablets at the time of the incident.
Judge Denis McLoughlin referred her case to the Drug Treatment Court.
Wynne, of no fixed address, pleaded guilty to criminal damage and breaching a protection order.
Dublin District Court heard the incident happened at North William Street flats on September 17 last year.
Gardai went to the scene to find the accused banging and kicking the door.
She had damaged the lock and panel on the door and threatened one of the gardai.
In a separate incident, the accused stole moisturisers and air fresheners worth €96 from Tesco Express in Ringsend on May 22.
Wynne had been abusing alcohol and tablets from the age of 11, her solicitor Alan Doyle said. At the time of the earlier incident, her drinking and drug taking had escalated to "an extent that I have never seen anything like in someone that young", he said.
"She would literally show up to court and wouldn't be able to stand on her own two feet."