After a series of late-night votes and months of controversy, the bill is now set to receive royal assent and become the Illegal Migration Act 2023.