@lin11c that's not what they decided in Bush v Gore, and I'll link to it so you can read for yourself.
In BvG the Supreme Court found that a state court had acted unconstitutionally, so it reversed the state court's illegal ruling.
The Supremes didn't say who the president was. They said Florida could vote for anyone they wanted so long as the voting was constitutional, and that the Florida state court can't be allowed to break the law.
Through their ruling in BvG the Supreme Court protected democracy from an illegally acting state court.
https://tile.loc.gov/storage-services/service/ll/usrep/usrep531/usrep531098/usrep531098.pdf
@Stinson_108 @atrupar