If the defendant pleads guilty, or refuses to answer the accusation, the court shall render judgment of conviction against him. If he denies the matters charged, the court shall immediately, or at such time as it appoints, try the accusation.
Ca. Gov. Code § 3069