£12 million school rebuild set to go ahead after footpa