Police re-arrested the boy earlier this month for allegedly stealing a car at knifepoint in Bulimba but he was given bail again.
It is understood the boy then taunted police on social media.
Police said they were left with no choice but to apply to the court and successfully get him back behind bars.
“That child has been given opportunities to rectify their behaviour,” Queensland Police Service commissioner Katarina Carroll said.
“We look at all cases that go before the court and if we believe it needs to be reviewed, we do.”
“Thank goodness the Supreme Court recognised that the Magistrate got it wrong,” Police Minister Mark Ryan said.
Read Related Also: Chicago shooting: 5 critically injured during Father's Day gathering in Roseland, police say
The state’s opposition claimed the state government had its approach to youth crime wrong.
“Today is six months since Annastacia Palaszczuk announced the 10-point plan to tackle the issues of youth crime and the youth crime crisis in Queensland,” Opposition Leader Jarrod Bleijie said.
However in the last six months across Queensland, car thefts have gone up by 12 per cent while break and enters have climbed 10 per cent.
The state government said it was starting to see results from new breach of bail laws.
“We are seeing those early numbers, we are seeing young people charged under those new offences,” Queensland Youth Justice Minister Di Farmer said.