California court leaders must adopt new policies to limit employees’ cooperation with federal immigration enforcement actions in their courthouses, under guidance issued Friday night by Attorney General Xavier Becerra’s office.

The directive, issued in response to so-called sanctuary state legislation enacted last year and largely upheld this summer by a federal judge in Sacramento, lays out four sets of model policies that court officials “shall adopt” to shield undocumented immigrants who come to court.