I'm not sure if someone's done this already, but what about a prestige class that's basically just immune to magic? I'm thinking d10 hit dice, full attack bonus, all good saves, and... that. First level, immune to magic. At higher levels, counter-spelling things you touch, at even higher ones...