School leaders said they had no choice in making the decision.