A French court has refused proposals by Calais authorities to demolish more than 70 shops and restaurants in the “Jungle” camp, which hosts thousands of refugees.

Over the past year, those living in the camp have built makeshift plywood shelters that have become hairdressers, convenience stores, grocers, cafes and restaurants.

The prefecture in Calais had planned to demolish the shops on the basis they did not pay tax or conform to health and safety requirements.

French police had already seized stock and arrested at least 13 shopkeepers in a series of raids. The authorities accused store owners of running illegal businesses.

The judge at Lille’s administrative court said the authorities' concerns were “totally understandable”, but there was no legal basis for destroying the market stalls.

Judge Jean-François ruled the stores were a much needed resource for residents of the camp, who were living "in extremely precarious conditions". They provided vital "calm meeting places between migrants and volunteer workers", he said.

Some of the stores are used as emergency accommodation for new arrivals at the camp, where the number of residents has swelled to over 9,000.​

Leading charity, Help Refugees, said the decision to keep the shops would help protect the dignity of the people in the camp.

“With our latest census showing 9,106 residents in the camp, and with food resources already so limited, this ruling means that people's dignity and hunger will not be exacerbated even further than they already are," they said in a statement.

A petition to save the Jungle Book Kids’ Cafe in the camp, which provides 200 meals every day as well as schooling and asylum advice, had reached 170,000 signatures prior to the ruling.

Harri Reed, who set up the petition, told The Independent the cafe's future remained uncertain.

“It's not a hundred per cent set in stone that the cafe is going to be back up and running, but for now it's an absolute success," she said.

Ms Reed, who teaches English and Music at the Calais camp, said the Kids' Cafe had been out of action since the police raids, but after the judgment she hoped they would be up and running within the week.

Calais and Dunkirk camps Show all 16 1 /16 Calais and Dunkirk camps Calais and Dunkirk camps (Photo: Alan Schaller) Calais and Dunkirk camps A portrait of an Afghan man wearing a traditional Perhan Turban in the Calais Jungle (Photo: Emily Garthwaite) Calais and Dunkirk camps Two Gendarmes guard the main entrance to the Dunkirk camp (Photo: Emily Garthwaite) Calais and Dunkirk camps One Kurdish Iraqi man’s reminder to himself (Photo: Alan Schaller) Calais and Dunkirk camps Two young boys in the Dunkirk camp (Photo: Alan Schaller) Calais and Dunkirk camps An Iranian hunger striker stands outside the only remaining shelter in the South Side of the Calais camp (Photo: Emily Garthwaite) Calais and Dunkirk camps A church in the South Calais camp, on of the the only structures not demolished in the South Side of the camp (Photo: Emily Garthwaite) Calais and Dunkirk camps A man gets a hair cut in the Calais camp (Photo: Alan Schaller) Calais and Dunkirk camps Night falls on the Calais Jungle. Fires burn in the distance (Photo: Alan Schaller) Calais and Dunkirk camps The containers provided as alternative accommodation for the people in the camps (Photo: Alan Schaller) Calais and Dunkirk camps A young boy in the Dunkirk camp (Photo: Alan Schaller) Calais and Dunkirk camps A man listens to music inside one of the shipping containers (Photo: Emily Garthwaite) Calais and Dunkirk camps The awful living conditions in the Dunkirk camp (Photo: Alan Schaller) Calais and Dunkirk camps An Afghan man in the Calais camp (Photo: Emily Garthwaite) Calais and Dunkirk camps One of the Iranian hunger strikers (Photo: Alan Schaller) Calais and Dunkirk camps A family in their wooden shelter in the new Dunkirk camp (Photo: Alan Schaller)

Speaking about the health and safety concerns raised, Ms Reed said: “You can't pick and choose the laws you apply. If you're going to enforce health and safety laws you need to apply laws of child protection.”

There are 865 children currently in the Jungle camp, according to Help Refugees. Almost 80 per cent of the children are alone.

After the southern section of the Calais camp was demolished in March, 129 unaccompanied minors went missing.