Using data from criminal cases in the State of São Paulo, Brazil, I analyze whether alternative sentences -e.g., fines or community services -decrease recidivism. To do so, I leverage the random assignment of judges within a court district as a source of exogenous variation in the probability of punishment to identify the effect of alternative sentences in comparison to the no-punishment counterfactual. Initially, I show that the usual identification strategy fails to identify the correct treatment effect parameter if it uses the trial judge's sentence, because the trial judge's decision may misclassify the final sentence due to the appeals process. To avoid this measurement error problem, I follow two approaches. First, I propose a novel partial identification strategy to identify the marginal treatment effect (MTE) with a misclassified treatment. This method explores restrictions on the relationship between the misclassified treatment and the correctly measured treatment, and allows for dependence between the instrument and the measurement error. Second, I collect data on Appeals Court's decisions and estimate the MTE based on the correctly measured final sentence. This last exercise is used as a benchmark for the set identification method that I propose.This draft is preliminary. While its theoretical part is complete, its empirical application is not ready yet.