What is the point of the legislation - I ask - if they can challenge cases and the lefty lawyers and judges rule against it as they always do?
Parliament is allegedly sovereign and can supersede the court and therefore deport them without recourse.
Not quite. Parliament is indeed sovereign, and can therefore change the law. What it can’t do is change the judgment of a court in specific cases under existing law.