63.12. Where under an Act a defendant is sentenced both to imprisonment and to the payment of a fine, a justice of the peace must, where the measures provided for the recovery of the fine have failed and imprisonment for failure to pay the fine is imposed, order that imprisonment begin at the expiry of the term of imprisonment imposed as punishment for the offence.