Countries have a right to change their laws, but I believe it’s in everyone’s interest for those laws to be changed while respecting principles of predictability and legal certainty.
People planned and rearranged their entire lives around immigration law in force at one point, perhaps 5 years ago, and now a new law is going into force that slams the door shut to having a basic sense of stability, with only a 6 month transition period. It’s cruel. And it sends a bad sign to anyone looking to move.
The USA can afford to be cruel because people will deal with it for high wages. Japan can maybe afford to be cruel because their cultural exports keep the top of their “talent attraction” funnel large. It’s economic suicide for any other small-to-medium sized nation dependent on foreign labor.