The Court of Appeals said Tuesday it would hear the state’s appeal of a lower court’s finding that the court system sought illegally to block Supreme Court justices who stay on the bench past age 70 from receiving both judicial salaries and public pensions.

The court said that the state has a right to appeal in Matter of Loehr v. Administrative Board of the Courts of the State of New York, No. 2015-1112.