Supermarkets in France have been banned from throwing away or spoiling unsold food by law.

The stores are now required to donate unwanted food to charities and food banks.

To stop foragers, some supermarkets have poured bleach over the discarded food or storing binned food in locked warehouses.

This law was voted unanimously by the French senate on Wednesday after a petition was launched by Courbevoie councillor Arash Derambarsh.

It will apply to any supermarket with a footprint of 400 square metres or larger.

If companies flout the law they coud incur fines up to 3750 Euros.

Jacques Bailet from Banques Alimentaires, a network of Food banks, told the Guardian: "Most importantly, because supermarkets will be obliged to sign a donation deal with charities, we’ll be able to increase the quality and diversity of food we get and distribute

Food waste during Christmas

"In terms of nutritional balance, we currently have a deficit of meat and a lack of fruit and vegetables. This will hopefully allow us to push for those products.

In pictures: Food banks Show all 9 1 /9 In pictures: Food banks In pictures: Food banks Rev Hebden and the Bishop of Oxford They were met with police when they went to deliver their open letter In pictures: Food banks Cameron's constituency office refused to open the door In pictures: Food banks The congregation waited on the other side of the street In pictures: Food banks Reasons for using foodbanks Some of the data released from The Trussell Trust In pictures: Food banks Rising numbers using foodbanks under the Coalition In pictures: Food banks Food poverty Almost a million people have used foodbanks in the last year In pictures: Food banks Food poverty scandal The Mail on Sunday accused the Trussell Trust of giving out food parcels without properly checking people’s circumstances. Getty Images In pictures: Food banks Food poverty scandal Food bank operators report that people in low-paid work are turning up during their lunch breaks seeking help Susannah Ireland/The Independent In pictures: Food banks The BNP have set up their own foodbanks Nick Griffin tweeted: “For the avoidance of doubt, our BNP food banks are for indigenous Brits only. 'Minorities' all have their own (taxpayer-funded) charities.” Getty

"That is very important for food banks because this is a real source of quality products, coming straight from the factory."

Mr Derambarsh is now looking to get an EU-wide law banning supermarket food waste.

He said: "The next step is to ask the president, François Hollande, to put pressure on Jean-Claude Juncker and to extend this law to the whole of the EU.