People are arguing this as if it's a political football and furcrissakes turning it into capitalism-vs-communism.
It's about trade vs profession.
This isn't a serious problem with doctors, dentists, lawyers, accountants, or teachers. Why? They're real professions, licensed by the local state. This isn't an inherent barrier to foreigners - if they meet the qualifications, it's a fraction of a year's effort and pay to get certified - but it's a huge barrier to the underqualified.
The hirers here are hoping that (a) the new-hires can pick it up well enough that with a few extra staff (and still cheaper) they can keep up production and (b) that the cracks won't show until they're on to their next promotion.
IT needs to be a Real Profession for about six reasons, but as a side-effect, it would end this continual pressure downward on the salaries of everybody in the industry by various efforts to dilute the talent pool with poorly-qualified competitors. Hiring kids away from college is another.
Just about anybody used to be able to hang out a shingle and be a dentist or doctor; engineering was a trade you picked up on the job working under a builder. Anybody want to go back to that? If not, support professionalising IT.