Offering vulnerable young people a stable family during criminal court proceedings can make a world of difference