The order bars the detention of people unless the officer or agent "has reasonable suspicion" that the person to be stopped is violating U.S. immigration law.
https://www.nbcnews.com/news/us-news/immigration-officials-cant-detain-people-based-race-speaking-spanish-l-rcna218400
LOS ANGELES A federal judge on Friday ruled that immigration officers in Southern California can't rely solely on someone's race or speaking Spanish to stop and detain them.
District Judge Ewusi-Mensah Frimpong issued a temporary restraining order after a lawsuit was filed by three men who were arrested as they waited to be picked up at a Pasadena bus stop for jobs on June 18, and after two others were stopped and questioned despite saying they are U.S. citizens.
Frimpong's order bars the detention of people unless the officer or agent "has reasonable suspicion that the person to be stopped is within the United States in violation of U.S. immigration law."
It says they may not base that suspicion solely on apparent race or ethnicity; speaking Spanish or speaking English with an accent; presence at a particular location like a bus stop or day laborer pick-up site; or the type of work one does.
Frimpong wrote in the ruling that most of the questions before her were simple and non-controversial.
Do all individuals regardless of immigration status share in the rights guaranteed by the Fourth and Fifth Amendments to the Constitution? Yes, they do, she wrote......
The judge's temporary restraining order also requires the government to provide training for agents operating in the Central District of California, which covers the Los Angeles and other areas, among other requirements.