IIRC, we fought a Civil War over that very point.
Now tell me you trust the SF counsel clowns of the border issues more than to the feds. Immigration is a federal matter. Let the city deal with the homeless and clean crap.