The Australian government has been ordered to bring a girl from the Nauru detention centre to Australia for urgent psychiatric treatment.
The Federal Court warned she could take her own life without medical intervention, the ABC reported.
The refugee arrived on Christmas Island by boat with her family in 2013 and has been on Nauru ever since, where she has already tried to take her own life.
In a judgment published on Friday, Federal Court judge Bernard Murphy granted an urgent injunction applied for by her family's lawyers to bring the girl to Australia as there were no specialist child psychiatrists based on Nauru.
There was an extreme risk the girl will commit suicide or otherwise self-harm, the judge said.
Her age was withheld.