The Canadian Charter of Rights and Freedoms includes provisions such as section 11(h) prohibiting double jeopardy. However, the prohibition only applies after an accused person has been "finally" convicted or acquitted. Canadian law allows the prosecution to appeal an acquittal. If the acquittal is thrown out, the new trial is not considered to be double jeopardy since the verdict of the first trial is annulled. In rare circumstances, a court of appeal might also substitute a conviction for an acquittal. That is not considered double jeopardy since the appeal and the subsequent conviction are then deemed to be a continuation of the original trial.