Justice system makes bad boys worse: Study