The New York State Court of Appeals ruled Tuesday that the terminations of three teachers by the New York City Department of Education did not “shock the conscience” and should not have been set aside by a state appellate court in Manhattan.

In an unsigned opinion reversing the decisions of the Appellate Division, First Department, in three separate cases, the Court of Appeals restored rulings entered by hearing officers who concluded the firings were appropriate. The judges said the First Department justices improperly reweighed the evidence in each case and substituted its judgment for that of the hearing officers.