Makes all offenses qualifying offenses for bail where the principal is a non-citizen; requires courts remand without bail when any principal charged with an offense has an outstanding United States immigration and customs enforcement detainer; includes federal laws, rules, and regulations in the definition of offense; allows police officers to detain certain non-citizens; reinstates the maximum sentence for misdemeanors as three hundred sixty-five days.