In a sentence that requires the use of "that" instead of "which," can "which" still be used when followed by a preposition.
Original: "I have the photo that Seinfeld signed." Using preposition: "I have the photo on which Seinfeld wrote his name."
I understand that the latter is correct, but I'm curious as to why it is correct. Does anyone have a deeper analysis about why it sounds weird to say "on that Seinfeld wrote his name," beyond just the fact it sounds weird. I'm looking for an actual grammatical explanation because I work with technical writers who flip around the above options often and I would like to know more about the mechanics of why this works.