If the accused pleads guilty, the Magistrate shall record the plea and may, at his discretion, convict the accused based on it.