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

 part, be imposed by [a Thai] court with a punishment lighter in any degree than that designated by the law for his offence or with no punishment at all, taking into account the punishment he has undergone.

In the event that the person who committed an offence in the Kingdom or is deemed by this Code to have committed an offence in the Kingdom has been charged before a foreign court at the request of the Thai Government, that person shall not once again be punished in the Kingdom for such act if—

there has been a final judgment of a foreign court acquitting him; or

a foreign court has adjudged him to a punishment and he has already been discharged from the punishment.

A safety measure shall be applicable to any person only when there is a legal provision permitting its application and the law to be so applied shall be the law at the time the court issues the judgment.

If any safety measure has been repealed by virtue of a provision of a subsequently prescribed law and such safety measure is being applied to any person, the court shall order termination of the application of the safety measure when