When judges refer repeat offenders with misdemeanors to the program, the goal is to keep people out of jail and help them make better choices.