Hey there :)
https://replay.pokemonshowdown.com/gen7ou-662973106
In this replay, turn 5 Rotom-W uses volt switch on Golisopod, causing Emergency Exit to activate and switch Golisopod into Lapras.
Then, in Turn 6, Rotom-W switches because of Volt Switch, while the the Lapras gets to attack...