A teen offender whose neck was fractured in an attack at Victoria's Barwon Prison has been given two weeks out of custody to turn his life around.
The boy, who is facing car theft charges, was granted two weeks' bail to live with his mother by Justice Lex Lasry at the Supreme Court of Victoria on Thursday.
Justice Lasry explained while he was initially inclined to refuse the bail application, he was concerned about further risks to the boy considering his serious injuries.
He explained that the boy had been moved to the Grevillea youth unit at Barwon following a disturbance at the Melbourne Youth Justice Centre at Parkville.
Justice Lasry said the boy complained of two assaults by staff at Grevillea in January this year, followed by an attack later that month by three other inmates that left him with the neck injury that required hospital treatment.
The boy was later transferred to Malmsbury Youth Justice Centre.
Justice Lasry also said he had been informed the boy had started self-harming with a broken fan.
He said the boy had said "he's had insight and wants to change his behaviour and support his father" who is seriously ill after a heroin overdose.
"You've basically got two weeks to turn your life around ... you're at a stage now where your future is completely in your hands," Justice Lasry said.
The case was adjourned for March 9, with the boy facing strict bail conditions including an evening curfew.