The high-stakes court decision ended in a 7-2 vote.