I've been told not to use the word "when" when providing examples. Such as in the following sentence.
A C-section is imperative in circumstances in which, for example, it is apparent the life of the mother or baby are at risk, including situations when the mother is bleeding heavily (hermorrhage) or the baby's oxygen supply is blocked.
I would not use "when" in the example you quote.
It sounds okay to me. Your other choice is to repeat "in which" which is awkward stylistically.
You've got me, GG. I can't explain it.
I'm okay with, "A C-section is imperative when the mother is bleeding heavily," but I don't like "in a case when. . . . . ," or "in a situation when. . . . "
I'm not suggesting it's ungrammatical.
You're right. Removing the word "situations" would make it better.
Anonymous I've been told not to use the word "when" when providing examples. Such as in the following sentence.
I agree with the other posts here, but should I want to write the same words as you and just change when, I would use where.
I think this is a case in which "when" doesn't work very well.