That's nonsense.
Many of those "foreigners" were born in Germany. And if you want to send them "home"...their home is Germany. Only a small percentage could go back, that are those who will be accepted. With Afghanistan or Syria EU doesn't have diplomatic relations. So, they have to stay, even not welcome. And those who committed crimes eg Germany, eg Afghanistan men, are highly welcomed and get money for their crimes and are free! No jail at all. So I think it's better to jail them in EU.