If the accused enters a plea of guilty or nolo contendere, the magistrate shall render judgment on that plea.