The problem with such policies whether it be tightening borders in Germany or "getting tough on people smuggling gangs" under Labour is that they simply try and address the supply problem and not the demand.
The number of people wanting to migrate to the UK or Germany doesn't change it just gets harder to do so.
To address the demand is more complex but basically comes back to the point that if you are poor and living in a poor country with little opportunity then it is completely rational to want to live in a wealthier country with more opportunities. Historically this has always been the case from Irish or Eastern Europeans migrating to Britain or Europeans migrating to the US between the wars and after ww2.
In the UK as French politicians recently pointed out one of the draws is the ability to disappear into the relatively unregulated economy and no requirements for ID cards.