Gee, I'd like to say I'm surprised, but I live in the little colony the UK started a couple of hundred years ago in the southern hemisphere and I think it's fair to say that we're quickly following such stupidity. I'm all for immigration, but when the illegal immigrants stop citizens from returning to the country of their birth, there's something not right. And, unfortunately, you're probably correct in assuming that now that it's all written into law that the next mob to run the show won't bother overturning it.
I feel like the British situation should be a pretty damn good example for other countries like Japan, new Zealand, to listen to and learn from, hopefully preventing the same outcome before it's too late - there is no going back. You can't undo it.
Perhaps the most underappreciated problem in this is the UKs desperate need to feel like it's still a big player, like the big little brother USA somehow gives a shit about what we say and do. We constantly feel responsible for everybody else's suffering, meaning we open the floodgates indefinitely at the expense of people like me and, well, everybody else. It's all so stupid