Attorneys for three defendants who were asked to largely give up their right to appeal their case to a higher court, after each agreed to plead guilty to certain crimes, called that part of their plea agreement unconstitutional and asked the New York Court of Appeals to invalidate it Wednesday.

The state’s highest court is expected to decide, through the cases, whether an appeal waiver should be considered unenforceable if it overstates what the defendant has legally agreed to give up.