It’s no question that immigration and outsourcing are two of the hottest topics in the presidential election. But some companies are facilitating both and losing big in the process. Take Tesla, for example.

“When Gregor Lesnik left his pregnant girlfriend in Slovenia for a job in America, his visa application described specialized skills and said he was a supervisor headed to a South Carolina auto plant. Turns out, that wasn’t true,” writes Louis Hansen for the Mercury News.

Instead of going to South Carolina to oversee American workers, Lesnik was sent to work in California’s Silicon Valley by the very companies that arranged his suspicious visa, where he earned a mere $5 an hour.

“Lesnik’s three-month tenure ended a year ago in a serious injury and a lawsuit that has exposed a troubling practice in the auto industry. Overseas contractors are shipping workers from impoverished countries to American factories, where they work long hours for low wages, in apparent violation of visa and labor laws,” Hansen writes.

Lesnik was one of 140 workers from Eastern Europe building a new paint shop at Tesla’s Fremont plant. However under U.S. immigration law, workers on B1/B2 visas are largely banned from performing hands-on jobs, such as Lesnik’s role installing ventilation pipes. After falling 30 feet, breaking both legs and losing consciousness in a factory accident, Lesnik’s Slovenian employer advised that Lesnik return home. Lesnik did return; but he isn’t done with Tesla just yet.

Tesla is one of several companies Lesnik is suing. The lawsuit includes claims for back wages and damages.

In breaking the story, Hansen, with help from staff writer Matt O'Brien, conducted dozens of interviews with employees, as well as an extensive review of payroll, visa and court documents.

Tesla CEO Elon Musk claims to have just caught wind of the story yesterday, and says he aims to “make it right.”

@margotroosevelt Only heard about this today. Sounds like the wrong thing happened on many levels. Will investigate and make it right. — Elon Musk (@elonmusk) May 16, 2016

Watch: