Section 137G of Criminal Procedure Code CAP 75: Competence of accused to make a plea agreement
The court shall, before recording a plea agreement, satisfy itself that at the time the agreement was entered into, the accused person was competent, of sound mind and acted voluntarily.
Check the current authoritative text and amendment history before relying on this provision.