Although I think this kind of story is plausible in general, it may be worth pointing out that Federal judges, who hear patent cases, are always appointed (at a national level) and never elected, unlike local judges. So they don't have election campaigns to contribute to.