The law is that immigrants must apply for asylum in the first safe country they reach (Dublin Agreement) - but no-one seems to have had the nous to apply it.
The other 'safeguard' says that refugees are fleeing from countries where they are in danger of their lives/freedom. France doesn't exactly qualify - ergo the Law is 'Han Ass' (Mr. Bumble) yet again. Forget the rules, other countries have, and send them back - they're safe enough in France - I lived there long enough.
Mind you, you have to support yourself for 5 years before you can access the social security and health systems with state aid. Perhaps that has something to do with it.