I'm a bit confused about what the relative pronoun "which" refers to in a sentence like this:
They supervised the games (noun) on the basketball court (noun phrase), which were two days long.
Is this construction incorrect?
In class, I was taught that the relative pronoun would refer to the noun closest to the comma. In this case that wouldn't make any sense because the "court" can't be two days long, but the "games" can last two days long.