5. There should either be one sentence for both offences in a case of conviction of house-breaking by night in order to commit theft, and theft, not exceeding that which may be given by the law for the graver offence, or separate sentences for each offence, provided that in the aggregate the punishment awarded does not exceed that which may be given for the graver offence.