The provisions of section 401 of the Bharatiya Nagarik Suraksha Sanhita, 2023 and the Probation of Offenders Act, 1958 shall not apply to a person convicted of an offence under this Act unless that person is under eighteen years of age.