The Bharatiya Nagarik Suraksha Sanhita, 2023
275. Conviction on plea of guilty.
If the accused pleads guilty, the Magistrate shall record the plea as nearly as possible in the words used by the accused and may, in his discretion, convict him thereon.