High court ruling gives immigrants facing deportation hope