When a monster is set to having 255 magic defense, they are given magic immunity.
This includes Shell boosted magic defense to monsters with 254 (or lower) magic defense.
This behavior is limited to the SNES versions of the game.
Having 255 magic defense for the characters does not cause this... which really sucks.
I just found this out through Charm/Confuse testing...