A federal judge has dismissed a lawsuit brought by a sanctuary city in California challenging President Donald Trump’s executive order withholding grants from jurisdictions that do not cooperate with federal immigration authorities

The city of Richmond, Calif., filed suit in March challenging the constitutionality of the order. U.S. District Judge William Orrick dismissed the case Monday, finding Richmond did not have standing to challenge the law.

In his ruling dismissing the case, Orrick explained the city had not demonstrated that it had reason to believe Trump’s order would be enforced against them, and therefore didn’t have standing to bring a case.

“Because Richmond’s complaint indicates that there is no real-world conflict between it and the federal government regarding its ‘sanctuary’ policies, Richmond cannot meet this final burden,” he wrote.

“Richmond has not alleged any facts indicating that it has been identified as a city that restricts cooperation with ICE or as one that regularly declines detainer requests,” he continued. “Instead, Richmond alleges in its complaint that ‘ICE has not in the past asked Richmond for information or issued detainer requests.'”

In other words, Orrick concluded Richmond cannot seek relief from a policy that has never been enforced against it.

Orrick was appointed to the federal bench by President Barack Obama in 2013. He has previously stayed enforcement of Trump’s sanctuary cities order as it applies to other jurisdictions.

Follow Kevin on Twitter

Send tips to kevin@dailycallernewsfoundation.org.

Content created by The Daily Caller News Foundation is available without charge to any eligible news publisher that can provide a large audience. For licensing opportunities of our original content, please contact licensing@dailycallernewsfoundation.org.