A reading of the cases suggests, unsurprisingly, that valid and sufficient grounds exist if the plea of guilty is not valid. The cases recognise that under common law, for a plea of guilty to be valid, three safeguards must be observed. First, the court must ensure that it is the accused himself who wishes to plead guilty (“the first safeguard”). Second, the court must ascertain whether the accused understands the nature and consequences of his plea (“the second safeguard”). Third, the court must establish that the accused intends to admit without qualification the offence alleged against him (“the third safeguard”). See Ganesun s/o Kannan v PP [1996] 3 SLR(R) 125 (“Ganesun”) at [15]–[16]. Ganesun noted that the second and third safeguards were embodied in ss 180(a) and 180(b) of the 1985 Revised Edition of the Criminal Procedure Code (“CPC 1985”), which applied to summary trials by the Magistrate’s Court or District Court. See, also, Toh Lam Seng v PP [2003] 2 SLR(R) 346 (“Toh Lam Seng”) at [5]–[6]. Sections 180(a) and 180(b) of the CPC 1985 are largely similar to what is now ss 227(1) and 227(2) of the CPC. The second and third safeguards referred to above therefore appear in both editions of the CPC.