Thr ruling opens the path for the Trump administration to deport hundreds of thousands of immigrants who have been living in the US for years.