Usage of "which"
Is the following sentence correct:
"They have the Supreme Court on their side which ruled in their favor."
What I want to say is that they (some group of people) have the Supreme Court on their side and that the Supreme Court ruled something in their (some group of people) favor.
If not, how would I need to change the sentence?
Solution 1:
It's better to put the adjective phrase next to the thing it modifies, as otherwise the meaning can become ambiguous.
They have the Supreme Court, which ruled in their favor, on their side.
Some prescriptivists will say that your sentence, as given in the question, means that their side ruled in their favor, and not the Supreme Court. In this case, however, the meaning is clear enough from context that I think you can use the current form of the sentence.
Solution 2:
Yes, your sentence is correct!
Solution 3:
Original:
They have the Supreme Court on their side which ruled in their favor.
Using "who" and a comma:
They have the Supreme Court on their side, who ruled in their favor.
To be unambiguous:
They have the Supreme Court on their side, and the Supreme Court ruled in their favor.