Ah, it didn't make sense as Barrier says, "Whenever your opponent plays a Trainer card (excluding Pokémon Tools and Stadium cards), prevent all effects of that card done to this Pokémon.", but I guess it makes sense now as you are the one switching.
No, I chose it.