In this case (like, as you say, common) the current centre-right caretaker government, and even moreso the elected-but-not-yet-coalesed incoming government are pandering to populist ideas which includes "immigration bad", reducing (the already reduced) tax breaks on people who move as knowledge workers, threatening to cap numbers, etc. It speaks well to a lot of voters, especially when lined up with "but there's not enough housing anyway", but it will, imo, cause damage to economic growth.