The socialist and left wing coalition have consistently voted against measures to improve border security and tighten the restrictions for people wanting to enter [1]. As people have become increasingly frustrated with these policies they've increasingly voted in right wing and conservative parties (in comparison to the ruling parties) [2].
We can also look towards the UK where socialist politics have been a mainstay since the 90s, to the point where now the Prime Minister (Kier Starmer, Labour) is a self-proclaimed socialist [3]. This is of course directly tied to the waves of mass migration under Tony Blair (Labour) which also resulted in the Socialist Party splitting from Labour because he wasn't "radical enough" [4].
[1] https://theconversation.com/what-are-the-eus-new-migration-r...
[2] https://www.brookings.edu/articles/understanding-europes-tur...
[3] https://www.vice.com/en/article/keir-starmer-i-still-see-mys...
[4] https://www.socialistparty.org.uk/articles/94799/27-04-2022/...