PIALBA cub scout Jack Beaven was sentenced in the Hervey Bay District Court to three months imprisonment for stealing a Razor scooter.
Junior police prosecutor Harree Grigoris argued that Mr Beaven had taken the property after finding it abandoned.
But Mr Beaven won't spend any time behind bars - because this mock trial was a fun and educational exercise for the Pialba Cub Scouts.
The cubs buddied-up with real lawyers, police and Magistrate Stephen Guttridge to see how the district court worked, and to run a trial of their own.
A jury was also tasked to determine the fate of the accused.
In the end the jury found him guilty, and cub Magistrate Phoenix O'Connor locked him up.
However real Magistrate Stephen Guttridge, who had given up his evening to help the scout - said there were some holes in the evidence.
Mr Beaven was released and able to attend school on Friday.
Update your news preferences and get the latest news delivered to your inbox.