The sentence 'I saw the man in the room' is ambiguous (either I was in the room and saw a man, or the man was in the room and I saw him)
If we transform it into a wh-question, 'In which room did you see the man?', the sentence is no longer ambiguous. According to the structural preservation principle, transformation does not change the meaning of the sentence. Why is this the case?