Slight problems with your theory:
It wasn't the poster's theory. It was what the professor told the class.
It's also been well documented. Recruiting firms have seminars for their customers on how to do it, and videos have been smuggled out by irate HR people and posted to the internet, sent to congresscritters, ...
One, it happens in countries that don't have H1-Bs.
Even countries that don't have H1Bs - or companies that operate there - often have requirements that job openings must be posted openly and the most qualified candidate(s) be offered the job. The same procedure works when an administrator has a particular candidate (or relative) he wants to hire, and HR procedures require the posting be open, for whatever reason.
Two, unless these H1-Bs are coming from Gallifrey there's no way they have 279 years experience in Java 147 on RHEL DCXLIV.
That sounds like another hiring pathology, which has caused much hilarity in the past, the result of clueless hiring managers and HR departments.
Back when Unix was first becoming broadly used in private companies, want ads were filled with job offers for low-level unix sysadmin positions - all requiring experience with Unix and its tools that could only be met - if at all - by Ken Thompson, Dennis Ritchie, M. D. McIlroy, and J. F. Ossanna. B-)
On the other hand, H1-B candidates often have their qualifications "boosted" on the resumes presented by the recruiting agencies representing them. (Often the candidates themselves have no idea this is being done - and are horrified if they discover it.) They may be enhanced beyond real-word possibility, either because those doing the enhancement are as clueless as in the Unix ads case, or because it's a way to insure that no read candidate can meet them (without also lying on the resume).