Local authorities had ordered the closure of the church-run school at the last minute, saying its finances were too unstable.