and be of good behaviour: Provided... (2)***(3) In any case in which a person is convicted of theft, theft in a building, dishonest misappropriation, cheating or any offence under the Penal Code, 1860 punishable with not more than two yearsimprisonment or any offence punishable with fine only and no previous conviction is proved against him, the court before which he is so convicted may, if it thinks fit, having regard to the age, character, antecedents or physical or mental condition of the offender and to the trivial nature of the offence or any extenuating circumstances under which the offence was committed, instead of sentencing him to any punishment, release him after due admonition.(4)-(10) 361.Special reasons to be recorded in certain cases .- Where in any case the court could have dealt with (a) an accused person under Section 360 or under the provisions of the Probation of Offenders Act, 1958 (20 of 1958), or(b) a youthful offender under the Children Act, 1960 (60 of 1960), or any other law for the time being in force for the treatment, training or rehabilitation of youthful offenders,but has not done so, it shall record in its judgment the special reasons for not having done so."] The offence in that case was punishable under Section 323 and Section 325 read with Section 148 and Section 149 IPC.