President Trump also detained families during his first term in an effort to deter migration through the southern border.
The 2-1 decision from the U.S. Court of Appeals for the 9th Circuit said California's law doesn't circumvent federal authority when it comes to immigration issues.