This is a piece of text from the internet about the significance of the use of a Mickey Mouse theme in the movie "Full Metal Jacket":
The singing of the Mickey Mouse theme song at the end. This is ironic wherein the song is a farewell until next time, it signifies a definite end in the film – of life and innocence.
Can "wherein" in this example be essentially replaced by the words "in a way that" Is this the correct usage of this phrase?
Wherein:
In what way; how: Wherein have we sinned? (thefreedictionary)