Many of the “right-wing” parties in Europe that speak out against immigration are very strongly in favor of welfare and other government social safety net programs. They just realize that mass immigration imperils those spending programs and are anti-immigration for that reason.
I think that an accurate assessment. Putting quotes about "right-wing" seems apt, since among the terms I used to read so often in German and French press used "centre-right" as if conservative. Welfarism is a problem, for a safety net is a lovely idea, but a safety net into which too many jump is a failing system. And of course what such as Britain's Labour and Germany's SPD favor, until....
The real answer seems productivity in national ecnomies, such that these economies can pay for their programs. I think Trump hit a nerve by suggesting, as many others before but with less coverage, that the US has essentially assisted in paying for European welfare budgets by allowing less than the full and agreed upon NATO expenditures. I know from first hand knowledge that under Merkel, Germany was not. Ergo, the irritation Trump caused.