(1) In this section amending Act means the Sentencing Amendment (Phasing Out Of Suspended Sentences) Act 2017 .(2) A provision of this Act, as inserted or amended by the amending Act, applies in relation to whether the offence or breach was committed before or after the day on which the provision is inserted or amended.(a) a court imposing a sentence on an offender in relation to an offence; or(b) a court making an order in relation to an offence or offender or a breach of an order or sentence; or(c) a person or court taking an action under this Act in relation to an offence or a breach of an order or a sentence (3) A sentence or order imposed or made before the day on which a provision of this Act is amended, repealed or substituted by the amending Act is not to be taken to be invalid by reason only that, after that day, a court could not, under this Act, have imposed the sentence or made the order.