The 4-2 ruling from the court puts voting back in place for Tuesday’s election.