A state law puts limits on when a county sheriff can transfer an inmate to U.S. Immigration and Customs Enforcement custody, based on their criminal record. Advocates point to records showing San Diego Sheriff Kelly Martinez might have violated that law in at least one case.