Parents had argued that Downhills Primary was now thriving - and that turning it into an academy made no sense.
But, as he refused permission for a judicial review, Mr Justice Kenneth Parker said that it was a rational decision to turn it into an academy, in the light of the school's "egregious" past performance.
He said that it was clear that the Education Secretary "simply had no confidence" that the school would substantially improve if it remained within the control of Haringey Council.
On the other hand, he "believed firmly" that conversion to an academy would substantially improve performance.
More top news
The body of Kester David was found in Broomfield Lane, N13 on Wednesday, 7 July 2010. Police believe he died in the early hours of that day.
Her partner was upstairs at the house at Basildon in Essex getting her hospital bag when the masked gang smashed their way in using crowbars
Drivers belonging to the RMT union are due to walkout at 9.30pm on Saturday in a dispute over a sacked colleague.