The most important thing to note about this is it's a bipartisan failure.
It's Coalition and Labor governments for at least two decades from 2004 to November 2023 stuffing people into detention relying on a razor-thin 4-3 High Court majority decision that was overturned.