
กฎหมาย ประมวลกฎหมายอาญา
มาตรา ๑๕
มาตรา ๑๕ ถ้าตามบทบัญญัติของกฎหมายที่บัญญัติในภายหลัง โทษใดได้เปลี่ยนลักษณะมาเป็นวิธีการเพื่อความปลอดภัย และได้มีคำพิพากษาลงโทษนั้นแก่บุคคลใดไว้ ก็ให้ถือว่าโทษที่ลงนั้นเป็นวิธีการเพื่อความปลอดภัยด้วย
ในกรณีดังกล่าวในวรรคแรก ถ้ายังไม่ได้ลงโทษผู้นั้น หรือผู้นั้นยังรับโทษอยู่ ก็ให้ใช้บังคับวิธีการเพื่อความปลอดภัยแก่ผู้นั้นต่อไป และถ้าหากว่าตามบทบัญญัติของกฎหมายที่บัญญัติในภายหลังมีเงื่อนไขที่จะสั่งให้มีการใช้บังคับวิธีการเพื่อความปลอดภัยอันไม่อาจนำมาใช้บังคับแก่กรณีของผู้นั้น หรือนำมาใช้บังคับได้ แต่การใช้บังคับวิธีการเพื่อความปลอดภัยตามบทบัญญัติของกฎหมายที่บัญญัติในภายหลังเป็นคุณแก่ผู้นั้นยิ่งกว่า เมื่อสำนวนความปรากฏแก่ศาล หรือเมื่อผู้นั้น ผู้แทนโดยชอบธรรมของผู้นั้น ผู้อนุบาลของผู้นั้นหรือพนักงานอัยการร้องขอต่อศาลให้ยกเลิกการใช้บังคับวิธีการเพื่อความปลอดภัย หรือร้องขอรับผลตามบทบัญญัติแห่งกฎหมายนั้น แล้วแต่กรณี ให้ศาลมีอำนาจสั่งตามที่เห็นสมควร
Unofficial Translation
Section 15. If according to the law subsequently provided, any punishment has been changed to a measure of safety and if there is a judgment imposing such punishment upon any person, such punishment shall be deemed to be a measure of safety. In the case of paragraph one, if such a person has not yet undergone the punishment or is undergoing the punishment, the measure of safety shall continue to be applied to such person, and if, according to the law subsequently provided, there is a condition rendering the application of such measure not applicable to the case of such person or applicable but the application of the measure of safety according to the law subsequently provided is more favorable to such person, the court shall, when it appears to the court from the file of the case or upon the application of such person, his or her legal representative or guardian or a public prosecutor for cancellation of the application of the measure of safety or for accepting the consequence according to the subsequent law, as the case may be, give an order as it sees fit.