Court proceedings on Friday could have widespread implications on foreign nationals after Trump's travel ban went into effect in June.