Squatters have invaded a London pub owned by TV chef Gordon Ramsay.

A group of at least six squatters locked themselves inside the Grade II-listed York & Albany hotel and gastropub situated just outside Regent’s Park, boarding up the windows and putting up a “legal warning” defending their takeover, the Sun reported.

Photos taken before windows were boarded up showed one squatter asleep on a sofa in the bar surrounded by hoards of litter.

Today, Saturday, April 13, two masked squatters wearing black tracksuits and carrying backpacks and carrier bags exited the property, running away from reporters before they could be approached for comment.

East London and West Essex Guardian Series: A notice on a window of the York & Albany pub near Regent's Park, London.A notice on a window of the York & Albany pub near Regent's Park, London. (Image: PA)

Gordon Ramasay's £13m restaurants invaded by squatters

A notice on the door of the restaurant said the group had a right to occupy the venue, which they said was not a “residential building” and was therefore not subject to 2012 legislation which had created a new offence of squatting in a residential building.

The piece of paper, signed by “The Occupiers”, also said: “Take notice that we occupy this property and at all times there is at least one person in occupation.

“That any entry or attempt to enter into these premises without our permission is therefore a criminal offence as any one of us who is in physical possession is opposed to such entry without our permission.

“That if you attempt to enter by violence or by threatening violence we will prosecute you.

“You may receive a sentence of up to six months’ imprisonment and/or a fine of up to £5,000.

“That if you want to get us out you will have to issue a claim for possession in the County Court or in the High Court.”

East London and West Essex Guardian Series: A side door to the York & Albany pub near Regent's Park, London.A side door to the York & Albany pub near Regent's Park, London. (Image: PA)

It's understood that Gordon Ramsay called the police on Wednesday, April 10 but was unable to have the squatters removed.

Another notice asked passers-by for “food and clothes donations or anything else you no longer want or need”.

The occupation of a person’s non-residential property without their permission is not itself a crime in the UK, though police can take action if crimes are subsequently committed, including damaging the property or stealing from it.

The Metropolitan Police said in a statement: “Police were made aware of squatters at a disused property in Parkway, Regent’s Park, NW1 on Wednesday, 10 April.

“This is a civil matter and so police did not attend the property.”

In 2007, film director Gary Love bought the freehold of the former nineteenth-century coaching inn.

He subsequently leased the property to Mr Ramsay on a 25-year term with an annual rent of £640,000.

The Kitchen Nightmares host unsuccessfully attempted to free himself from the lease in a legal battle at the High Court in 2015.

The venue went on sale at the end of last year with a guide price of £13 million.

According to government guidance, squatters can apply to become the registered owners of a property if they have occupied it continuously for 10 years, acted as owners for the whole of that time and had not previously been permitted to live there by the owner.