The act requires immigration authorities to detain undocumented migrants that commit theft-related and other crimes.