(i)Notwithstanding anything to the contrary contained in any law, no person who was a child at the date of the commission of the offences shall be sentenced to death or life imprisonment or committed to prison for any offence or in default of payment of fine, damage or costs: