I think it is a big mistake to resign. Tell them to go to hell, and make them remove you.
That is what is called anarchy and as unpopular as some laws or in this case decisions are judges are not afforded that opportunity....our side (and rightly so) would call that judicial activism.