Section 192 of Criminal Procedure Code CAP 75: Person charged with misdemeanour not to be acquitted if felony proved, unless court so directs
If on a trial for a misdemeanour the facts proved in evidence amount to a felony, the accused shall not be therefore acquitted of the misdemeanour; and no person tried for the misdemeanour shall be liable afterwards to be prosecuted for a felony on the same facts, unless the court thinks fit to direct that person to be prosecuted for felony, whereupon he may be dealt with as if not previously put on trial for misdemeanour
Check the current authoritative text and amendment history before relying on this provision.