Really? France would have every right to refuse them. Simple as prove they came from here?
You are over simplifying and you are intelligent enough to know that.
It is a massively complicated problem to solve - needs a combinationnof reducing the push factos (war, famine, poverty and persecution) in the home country, legal routes to migrate and (yes) deterrence.