Page:พระราชบัญญัติให้ใช้ประมวลกฎหมายอาญา ๒๔๙๙.pdf/23

 it becomes known to the court from the file of the case or when that person, his legal representative, his curator, or a public prosecutor makes a request.

In the event that a safety measure is being applied to any person and a provision of a subsequently prescribed law changes the conditions for ordering the application of such safety measure, as a result of which the safety measure becomes inapplicable to his case or is still applicable but the application of the safety measure according to the provision of the subsequently prescribed law is more favourable to him, when it becomes known to the court from the file of the case or when that person, his legal representative, his curator, or a public prosecutor requests the court to cancel the application of the safety measure or to permit him to enjoy the outcome of that legal provision, as the case may be, the court shall have the power to issue such an order as it finds appropriate.

If any punishment has transformed into a safety measure by virtue of a provision of a subsequently prescribed law and there has been a judgment imposing such punishment upon any person, the punishment so imposed shall be deemed to have become the safety measure also.