Japan is heavily protectionist in lots of areas. Sometimes it helps, sometimes it hurts.
But if we are going to take any immigrants into the country, young tech workers are our best choice to make, on average, so I don’t actually see why we need to be punitive in the tech area specifically, no.
If you're going to have any cancer, prostate cancer may be the best one to have - but having none is better still.