Upon conviction of the accused in cases arising under the first subdivision of Section 36-2-18 NMSA 1978, the judgment of the court must be that the name of the party be stricken from the roll of attorneys of the court, and that he be precluded from practicing as such attorney in all the courts of this state and upon conviction in other cases the judgment of the court may be, according to the gravity of the offense charged, deprivation of the right to practice as an attorney in the courts of this state permanently or for a limited period.
NMS § 36-2-21