Separation of powers. It was fine for Congress to give the federal courts jurisdiction over the case, but when they began specifying how the court should hear the case they went too far.
It would be like the courts ordering Congress to have X number of people on a committee and in what party ratio.