It was 5 to 4 along partisan lines that upheld the deadline.
why do you lie?
The Court ruled 5–4 that no constitutionally valid recount could be completed by a December 12 "safe harbor" deadline. The Court asserted that "the Supreme Court of Florida has said that the legislature intended the State's electors to 'participat[e] fully in the federal electoral process,' as provided in 3 U.S.C. § 5." The Court therefore effectively ended the proposed recount, because "the Florida Legislature intended to obtain the safe-harbor benefits of 3 U.S. C. §5."
Four justices (Justices Stevens, Ginsburg, Souter and Breyer) dissented as to stopping the recount. Two of those four dissenters (Justices Breyer and Souter) acknowledged that the counting up until December 9 had not conformed with Equal Protection requirements. However, Souter and Breyer favored remanding the case back to the Florida Supreme Court for the purpose of crafting specific guidelines for how to count disputed ballots, in contrast to the majority's decision to halt the recount altogether.[36] The actual counting had ended with the December 9 injunction issued by the same five-justice majority, three days before any deadline.[24]