A 14-year-old Australian boy caught with marijuana while on holiday in Bali will be back home on Sunday week, after an Indonesian judge sentenced him to two months in jail.
Prosecutors had demanded the boy, from Morisset Park near Newcastle in NSW, serve a custodial sentence of three months in relation to a charge of use of an illegal drug.
But the judge, Amser Simanjuntak, on Friday shaved one month off the sentence requested by prosecutors, delivering his ruling in a makeshift hearing room at the Denpasar District Court which for the first time during the trial was opened to the media.
Media reports said the teenager was also fined 2000 rupiah ($A0.22 cents).
The boy was without the mask he has worn throughout the ordeal to shield his identity from the media, but was obscured by a number of bodyguards and accompanied by his father as the decision was handed down.
The ruling takes into account time served since his arrest seven weeks ago, which means the boy will be released on December 4, after which he will be deported to Australia.
He has been in custody since he was arrested on October 4 in possession of 3.6 grams of marijuana when police swooped on him and a 13-year-old friend outside a supermarket near Kuta Beach.
The schoolboy was initially indicted on three charges, including one of possession which carries a maximum penalty of six years in prison for juveniles.
However, prosecutors opted instead to seek a conviction in relation to the "drug use" charge after documents presented to the court, including medical records and a statement from the NSW Police, showed the teenager was a long-term user of marijuana.
The drug use charge, under article 127 of Indonesia's tough harsh narcotics laws, carries a maximum penalty of two years in prison for juveniles but no minimum term.
Under Indonesian law, people considered drug addicts or long-term users are often shown leniency.
The teenager is likely to serve out the remainder of his sentence at an immigration detention centre in Jimbaran, about an hour's drive from the court.

