Section 260
Procedure if whipping cannot be inflicted
(1)
In any case in which under section 259 a sentence of whipping is wholly or partially prevented from being executed, the offender shall be kept in custody until the Court which passed the sentence can revise it, and the Court may in its discretion either remit such sentence or sentence the offender in lieu of whipping, or in lieu of so much of the sentence of whipping as was not executed, to imprisonment for a term which may extend to 12 months, which may be in addition to any other punishment to which he has been sentenced for the same offence.
(2)
Nothing in this section is deemed to authorise any Court to inflict imprisonment for a term exceeding that to which the accused is liable by law or which the Court is competent to inflict.