SAN FRANCISCO (CBS SF) – The cities of San Francisco, Berkeley, Fremont and Watsonville and Contra Costa, Monterey, Santa Clara and Sonoma counties were among 29 jurisdictions nationwide to receive sanctuary warning letters from the U.S.  Department of Justice Wednesday.

The letters say the department is concerned that the cities’ and counties’ policies may violate a federal law that bars local governments from preventing their employees from communicating with federal immigration agents.

READ MORE: COVID: E. Bay Teachers Union At Odds With District Plan To Get Students Back On Campus

Compliance with the law, known as Section 1373, is a condition of Justice Department grants to local governments under a program known as the Edward Byrne Memorial Justice Assistance Program.

The letters signed by Acting Assistant Attorney General Alan Hanson ask the cities and counties to submit a response by Dec. 8 explaining whether they have “laws, policies or practices” that violate the law.

The letters also ask the recipients to state whether they would comply with the law if they receive a Byrne grant in the current fiscal year, which began on Oct. 1.

Attorney General Jeff Sessions said in a statement, “Jurisdictions that adopt so-called ‘sanctuary policies’ also adopt the view that the protection of criminal aliens is more important than the protection of law-abiding citizens and of the rule of law.

“I urge all jurisdictions found to be potentially out of compliance in this preliminary review to reconsider their policies that undermine the safety of their residents,” Sessions said.

READ MORE: Woman Arrested For Anti-Asian Attacks In Mountain View

San Francisco City Attorney Dennis Herrera strongly disagreed with the Justice Department’s analysis.

“San Francisco is in full compliance with federal immigration law,” he said in a statement.

Herrera said the administration of President Donald Trump is making “novel and shifting interpretations” of the Section 1373 law, “going far beyond its text.”

“The law means what it says, and we follow it,” he said.

Herrera said San Francisco restricts other cooperation with immigration officials, but maintained that such local restrictions don’t violate federal laws.

“This letter is the latest salvo in the barrage of Trump administration threats to sanctuary cities. The law is on our side, and we intend to beat back this threat, just like all the others before it,” Herrera asserted.

MORE NEWS: Social Housing May Be A Fix For San Francisco's Housing Affordability Crisis

© Copyright 2017 by CBS San Francisco and Bay City News Service. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.