I've seen topics regarding this subject and people said "which" can be used in a defining clause - which is very odd to me. That's why I'm asking whether this usage is okay.
Examples:
The soda which I drank had a strong smell. (Instead of saying: "The soda that I drank [...]")
The subject which I wrote about is of such importance. (Instead of saying "The subject that I wrote about [...])