Execution of sentence of caning forbidden in certain cases
325.—(1)  The following persons shall not be punished with caning:
(a)women;
(b)men who are more than 50 years of age at the time of infliction of the caning; and
(c)men sentenced to death whose sentences have not been commuted.
(2)  Subject to any other written law, if a person is convicted of one or more offences punishable with caning (referred to in this section as the relevant offences) but the person cannot be caned because subsection (1)(a) or (b) applies, the court may, in addition to any other punishment to which that person has been sentenced, impose a term of imprisonment of not more than 12 months in lieu of the caning which it could, but for this section, have ordered in respect of the relevant offences.
(3)  A court may impose a term of imprisonment under subsection (2) notwithstanding that the aggregate of such term and the imprisonment term imposed for any of the relevant offences exceeds the maximum term of imprisonment prescribed for any of those offences.
(4)  A Magistrate’s Court or District Court may impose a term of imprisonment under subsection (2) notwithstanding that the aggregate sentence of imprisonment (comprising the term of imprisonment imposed under subsection (2) and the combined terms of imprisonment imposed by the court in respect of the relevant offences) exceeds the limits prescribed by section 306.
(5)  The power of a court to impose the additional term of imprisonment under subsection (2) shall not apply in relation to any offence which is committed before the date of commencement of this Division.