Ok I know this is very specific so please tell me if there is a better place to ask this, but I can not find an answer anywhere, and don't have a second switch to test:
In a Showdown match today I saw a Corviknight with Mirror Armor, against a Grimmsnarl with Prankster Parting-Shot. Corviknight was holding the Clear Amulet, which not only stops the stat drops from Parting-Shot, but also stops Grimmsnarl from switching with it as well.
HOWEVER - in this game, Grimmsnarl WAS able to switch. My initial thought was it was similar to the Magic Bounce interaction, where the ability activates before the item, but we SAW the Clear Amulet prevent the stat drops first, and then Grimmsnarl still switch out. My two questions are 1. Is this just a bug in showdown? and 2. If not, why exactly is this happening?
https://replay.pokemonshowdown.com/gen9draft-2378013039 around turn 9