I guess the parent poster is talking about refugees/asylum seekers and similar conditions rather than qualified immigrants such as students and professional workers, which might be the main source of foreigners in Poland, unlike Germany.
That was implied, yes. The problem is that every time, like clockwork, when migrants are "dealt with" it means country is tightening professional legal immigration, and doing jack shit about illegal ones. Example - Canada has a problem with illegal migrants, to combat that they cut legal (and quite hard and complex) immigration path which Ukrainians used, maybe others too. They are also constantly raising the number of points for permanent residence (which includes education and work among other things, so is kinda for professionals). USA has a problem with migrants, it restricts H1B professional visa criteria which was very restricted in the first place.
PS: I don't mean that these restrictions are bad, maybe they are needed. I mean that often it seems that anti immigration ire is directed on the ones can be found the easiest, legal migrants who can be sent home with a flick of the pen, without getting from the comfy chair.
Completely agree. IMO, first thing should be done is to properly label, distinguish and group these terminologies about different types of immigration and foreigners. Then, have a solid policy especially on (initially) illegal immigration.