A mother-of-one caught with a stun gun did not have it for any "sinister" purpose, a court heard.
Sarah Byrne (30) was illegally holding the stun gun outside a Dublin hotel when gardai encountered her.
Judge David McHugh struck the case out, leaving her with no criminal record.
Byrne, a care assistant of Drumcarra Grove, Jobstown, Tallaght, admitted having the stun gun without a certificate of authorisation.
Blanchardstown District Court heard the incident happened outside Bewley's Hotel at Newland's Cross on September 24, 2014.
The case had been heard previously and was back before the court for a probation report.
Referring to it, defence barrister Jennifer Jackson said the probation service deemed Byrne to be at low risk of re-offending.
She had no previous convictions and had not come to the attention of the gardai since the incident.
"This was one unfortunate, isolated incident, it was never her intention to injure anybody," Ms Jackson said.
There was "nothing sinister" behind her possession of the stun gun.
The accused's parter had passed away recently.
Byrne was a qualified care assistant and was on social welfare.
Judge McHugh noted that the defendant was "vulnerable at the time".