The New Jersey judiciary has revised its standard plea form in criminal cases to ensure that aliens charged with committing certain “aggravated felonies” will be deported if they plead guilty.

The revision comes in the wake of the state Supreme Court’s July ruling in State v. Nunez-Valdez, 200 N.J. 129, which vacated a guilty plea because the defendant, a native of the Dominican Republican, was not told he would be deported.