Of course they could find these workers locally, but let's say that because of a strong economy and high cost of living, the average salary is $250,000 per year in that country. The entrepreneurs go online and find a few Americans who would otherwise have been working the aforementioned "good jobs" that pay $50,000, except that the economy is so bad that those jobs are unavailable. The entrepreneurs hire the Americans at a rate of $100,000 to perform the job remotely.
The Americans get a better salary they would have otherwise gotten, and they get to work from home. The Europeans get a much cheaper worker ($100k vs $250k). Everybody's happy. I don't see what labor laws would be violated, and I don't see who would be hurt by such a scenario.
The easiest one to violate is accidentally turning your contractor into an employee, and if that happens, may God have mercy on your soul, because the local tax agency will not.
1. The contractor presumably has other clients/customers 2. The contractor is not in your facility 3. The contractor is using his/her own tools and equipment
There are a number of other tests, but this is actually probably one of the "safer" ways to hire contractors.