The Department of Justice (DOJ) on Thursday filed a lawsuit against SpaceX accusing the company of discriminating against asylum seekers and refugees in its hiring decisions.

The DOJ alleges that SpaceX “routinely discouraged asylees and refugees from applying and refused to hire or consider them, because of their citizenship status, in violation of the Immigration and Nationality Act (INA).” According to the suit, SpaceX wrongly claimed that federal regulations related to export controls restricted the company to only hiring U.S. citizens and lawful permanent residents, also known as green card holders.

“Our investigation found that SpaceX failed to fairly consider or hire asylees and refugees because of their citizenship status and imposed what amounted to a ban on their hire regardless of their qualification, in violation of federal law,” said Assistant Attorney General Kristen Clarke of the DOJ’s Civil Rights Division. “Our investigation found that SpaceX recruiters and high-level officials took actions that actively discouraged asylees and refugees from seeking work opportunities at the company.”