US Court Clears Way for Immigration Checks