Uh so is something immuned to both energy damage and weapon damage a CR 8?

Let me rephrase that, how are you supposed to actually kill it?