A registrar and wannabe lawyer hacked Victoria's court system to make a fake intervention order for a mate's custody fight.
Sara Borg worked at Werribee Magistrates Court in Melbourne's southwest, but made herself out to be a friend's lawyer and helped him pester his ex-girlfriend for shared custody.
After insisting a fellow staffer take a lunch break, Borg used the co-worker's login details to create a fake interim intervention order and sent it to South Australian police to serve on the ex-girlfriend.
Authorities were suspicious and soon realised the document was a fake. Borg resigned when it was traced back to her.
"Haha I didn't lose my job for that c*** to get away with keeping a child from her father," she texted the friend, for whom she'd made the fraudulent document, in October 2018.
Borg also improperly accessed and sent her sister court information about a tradie the month before.
Now 40, the former registrar has pleaded guilty to two counts of misconduct in public office and two of unauthorised access with the intent to commit a serious offence.
She has also admitted to one count each of making and using a false document.
"I feel sick for letting you down and will pay the ultimate price in that I lose my job and my friends, and will never be able to practice law," Borg texted a fellow registrar after being found out.
She lost her bid to ban reporting of her name in the County Court of Victoria on Friday.
Her barrister, Fiona Todd, said the order was necessary to ensure the safety of Borg and her family.
Judge Fran Dalziel found there was no evidence to support this assertion and rejected the bid.
Borg was anxious, depressed, recovering from post-traumatic stress disorder and felt guilty for what she did, the court was told.
Psychologist Patrick Newton said Borg's mental health problems, combined with the suicides of a friend and magistrate with whom she had worked, had impaired Borg's ability to exercise appropriate judgment.
Before hacking Victoria's Courtlink database to create the fake document, Borg told the intended recipient there was already an interim intervention order against her.
After sending the fraudulent document to authorities, she flew to Adelaide and accompanied police as they attempted to serve it.
It included a clause saying the man was allowed unsupervised access to his child for 24 hours every three weeks, something police thought was unusually specific.
Ms Todd said Borg embarked on a "naive, doomed, clumsy" attempt to help a friend who had been living with her family and was suicidal.
"She knew she was abusing her trusted position," Ms Todd said.
"There's no money in this for her, there's no love ... (but) a sense of being needed, perhaps."
Borg suffered a fall from grace with intense media coverage, the barrister added, asking the woman he spared a prison sentence.
Judge Dalziel said the registrar's abuse of her position was serious, albeit doomed to be found out, and the justice system was a victim.
"She's selling out herself, her position and trust ... to gain the approval of others," the judge said.
Borg remains on bail and will be sentenced at a later date.
Lifeline 13 11 14
beyondblue 1300 22 4636
Australian Associated Press