Sci-Hub complied with the order with the intent to actually argue their case (and possibly establish a legal justification for the site), rather than just defying the order and continuing to play cat-and-mouse with every authority.
And this is because they have a chance of winning. The same court has previously adopted a broad interpretation of what constitutes fair dealing.