Section 186 of Criminal Procedure Code CAP 75: Charge of defilement of a girl under 14 years of age
When a person is charged with the defilement of a girl under the age of fourteen years and the court is of the opinion that he is not guilty of that offence but that he is guilty of an offence under the Sexual Offences Act, he may be convicted of that offence although he was not charged with it.
Check the current authoritative text and amendment history before relying on this provision.