A Dunedin teen barricaded himself in his room for several hours with the threat of prison looming, a court has heard.
Brendon Hemi Raukura, 18, had his case called in the Dunedin District Court this week but was absent from the dock.
Court probation officer Jeremy Burdett told Judge Kevin Phillips the teen had locked himself in the room at the supported accommodation where he was serving a sentence of two years' intensive supervision for sex offences committed last year on a teenage boy.
"Police can't arrest him because he hasn't actually done anything illegal," Burdett said.
That changed when the judge issued a warrant for the teen's arrest.