However, there are certain exceptions written into the law and other similar resolutions including cases in which ???investigating or prosecuting illegal activity other than mere status as an undocumented alien??? and when police are ???required by federal or state law or by court order or court rule to inquire about such person???s immigration status.??? The law specifically states that ???law en