crime under state law. HRS § 802E-2 (1993). 20 . The decision in Nguyen was based on the “relevant law’’ at the time of the plea at issue in that case. Nguyen, 81 Hawai'i at 289, 292, 916 P.2d at 699, 702. The court explained that under HRS § 802E-3, which was not in effect at the time of Nguyen’s plea agreement, if a court fails to advise the defendant of the possible consequence of deportation prior to the entry of a plea agreement, the court shall "permit the defendant to withdraw the plea.” Id. at 289 n. 7, 916 P.2d at 699 n. 7 (quoting HRS § 802E-3). 21 . But see In re Resendiz, 105 Cal.Rptr.2d 431, 19 P.3d at 1179 n. 7 (explaining that "sex offender registration” requirements are " 'direct' consequences of a guilty plea”); Palmer v. State, 118 Nev. 823, 59 P.3d 1192, 1194 (2002) (<HOLDING>); People v. McClellan, 6 Cal.4th 367, 24
holding that plea of guilty or nolo contendere is not rendered involuntary because it is a product of plea bargaining an accepted plea bargain must be recorded and court may accept a bargained plea to a lesser offense reasonably related to a charged offense holding that plea of guilty admits all facts well pleaded and sentence imposed and is not subject to collateral attack on ground that as factual matter accused was not guilty of the offense charged holding that since sex offender registration was not a direct consequence of the plea the failure to warn of such a requirement did not render the pleas unknowing or unintelligent holding that the sanction of deportation is a collateral not direct consequence of a guilty plea holding that the lifetime supervision requirement imposed on sex offenders is a direct consequence of a guilty plea because it enlarges or increases the punishment for charged offense