That's not just Japan. UK is another example of such behaviour. They killed HSMP (Highly Skilled Migrants Program
) in the name of curbing immigration. But at the same time allowed companies to transfer employees to UK for up to 5 years. So in my view they are no better.
Guess what the very problem it was supposed to solved still exists and immigration is increasing. They are just not getting Highly Skilled immigrants anymore, Strange world!