An appeal is a claim that some procedural or legal error was made in the prior handling of the case. An appeal results in one of two outcomes. If the appellate court agrees with the lower court, then the appellate court affirms the lower court's decision. In such cases the appeals court is said to uphold the decision of the lower court. If the appellate court agrees with the plaintiff that an error occurred, then the appellate court will overturn the conviction. This happens only when the error is determined to be substantial. Trivial or insignificant errors will result in the appellate court affirming the decision of the lower court. Winning an appeal is rarely a "get out of jail free" card for the defendant. Most often, the case is remanded to the lower court for rehearing. The decision to retry the case ultimately rests with the prosecutor. If the decision of the appellate court requires the exclusion of important evidence, the prosecutor may decide that a conviction is not possible.