In her ruling earlier this week, Judge Lucy Koh dismissed five out the suit's seven claims, which meant other automakers, including Mercedes-Benz, Volkswagen and BMW, which were originally listed as defendants, were dropped from the suit. However, she denied Tesla's and Eisenmann Corp's motions to dismiss, saying even if the alleged misdeeds were committed by ISM Vuzem, because the others financially benefited from those actions, they were liable as well.

This isn't the only complaint made against Tesla regarding labor issues. The US National Labor Relations Board filed a complaint against the company last year and a report released in April detailed claims that Tesla was undercounting injuries sustained by workers at its factory in Fremont, California -- an allegation that California's Division of Occupational Safety and Health began investigating soon thereafter. The National Council for Occupational Safety has also named Tesla one of the most dangerous places to work in the US.

Allegations of worker mistreatment have also come alongside claims of racial harassment, LGBTQ discrimination and sexism.

Tesla sent TechCrunch the following statement regarding the claims made in the lawsuit:

"At Tesla, we operate on the principles of fairness, justice and kindness. Whether people work for the company, one of our contractors or a subcontractor, we expect them to act ethically and follow these same principles.

"Gregor Lesnik was brought to the Tesla factory by a company called ISM Vuzem, a subcontractor brought in by Eisenmann, the firm that we hired to construct our new paint shop. We contracted with Eisenmann not because we thought they were less expensive -- they weren't -- but because they were regarded as one of the best, if not the best, in the world at building paint shops. As far as the law goes, Tesla did everything correctly. We hired a contractor to do a turnkey project at our factory and, as we always do in these situations, contractually obligated them to comply with all laws in bringing in the resources they felt were needed to do the job.