He successfully argued that the judge who sentenced him erred in the application of what are dubbed Gladue principles