Right now, Western countries are happy to accept all Ukranian refugees. War on your doorstep has that effect.
In the long run, I'm not so sure.
But that wasn't my point. I was just wondering how the "don't take refugees" stance works in reality. Hell, it's a stance I don't entirely disagree with, but I just don't see how it is realistic.