UN Standard Minimum Rules of the Administration of Juvenile Justice (The Beijing Rules) which set the minimum conditions for the treatment of children who are in conflict with the law and emphasize that imprisonment should only be used as a measure of last resort and for the shortest time possible