The court must bar further prosecution through a judgment if:
左の場合には、判決で免訴の言渡をしなければならない。
a final and binding judgment has been reached in a case;
確定判決を経たとき。
the punishment is repealed by laws and regulations established after the crime;
犯罪後の法令により刑が廃止されたとき。
there is a general pardon;
大赦があつたとき。
the statute of limitations expires.
時効が完成したとき。
Read this with the articles around it