(1) Section 64, as amended by the Justice and Other Legislation Amendment Act 2014 , applies only in relation to a sentence of imprisonment, or commitment to prison, for an offence committed before the commencement of this section ( commencement ) if:
(a) the sentence is imposed in proceedings in which a court starts hearing sentencing submissions after commencement; or
(b) the commitment is imposed in a hearing under section 15(4) that starts after commencement.
(2) Section 64, as in force before commencement, continues to apply in relation to a sentence of imprisonment, or commitment to prison, for an offence committed before commencement if:
(a) the sentence is imposed in proceedings in which a court started hearing sentencing submissions before commencement; or
(b) the commitment is imposed in a hearing under section 15(4) that started before commencement.