Michael Gove, Britain's Levelling Up, Housing and Communities Secretary, last year refused planning permission for the scheme on heritage and environmental grounds, overturning approval from the local council.

M&S wants to redevelop the Art Deco building that dates back to 1929 and is located at one end of Oxford Street, London's most famous shopping thoroughfare.

The company took the government to court over the decision, with its Chief Executive Stuart Machin, one of the best-known names in British business, calling Gove's decision "utterly pathetic".

Following a hearing in February, Judge Nathalie Lieven ruled on Friday that Gove misapplied Britain's planning policy and overturned his decision.

Lieven said Gove had also failed to give adequate reasons for why refusing permission would not cause wider harm to London's West End, despite M&S saying it would leave the site if it could not redevelop the store.

M&S Operations Director Sacha Berendji said in a statement the retailer's planned redevelopment "would deliver one of London's greenest buildings, create thousands of new jobs and rejuvenate the capital's premier shopping district."

"The Secretary of State now has the power to unlock the wide-ranging benefits of this significant investment and send a clear message to UK and global business that the government supports sustainable growth and the regeneration of our towns and cities," Berendji added.

The Department for Levelling Up, Housing and Communities did not immediately respond to a request for comment.

In January, M&S reported a better-than-expected 8.1% rise in sales over the Christmas trading period, driven by market-leading growth in food and a strong performance in womenswear.

(Reporting by Sam Tobin; Editing by Sachin Ravikumar)