30. Sentence of imprisonment in default of fine.

(a) is not in excess of the powers of the Magistrate under section 29;
(b) shall not, where imprisonment has been awarded as part of the substantive sentence, exceed one-fourth of the term of imprisonment which the Magistrate is competent to inflict as punishment for the offence otherwise than as imprisonment in default of payment of the fine.