At ten to nine, which is just before the exam begins, please make sure you assemble outside the hall.
This sentence is giving me a headache. The relative pronoun refers to the time ten to nine so why is the use of when incorrect?
At ten to nine, which is just before the exam begins, please make sure you assemble outside the hall.
The simple answer is that "which" functions here as subject of the relative clause. But "when" cannot normally function as a subject; rather, it functions as an adjunct of time as in, for example,
At half past midnight, when everyone else in the house was asleep, I heard a strange noise outside.
The relativized element is not at ten to nine, but ten to nine. This makes it a noun phrase and not a prepositional phrase, which explains why we use relative word which.
Main clause counterpart:
Ten to nine is just before the exam begins.
If we were to use when as the realtive word, we'd rephrase:
At ten to nine, when the exam is about to begin, please make sure you assemble...
'Which' can be used as a subject of the depending clause : "which is just before the exam begins".
'When' cannot be used like this : "When is just before the exam begins". (wrong)
'When' is a relative adverb. It may be used in the following way : "when the exam hasn't started yet."
Sometimes, we can replace 'when' with 'preposition + which': I'll never forget the day when ( = on which) I first met you.
Similarly, "At ten or nine, which is just before the exam begins, ......"
Or, "At ten or nine, when the exam has not started yet"....
Or, "At ten or nine, at which the exam has not started yet"...