Parameter: this is RAW. I can pretty well guess RAI doesn't agree. So I'm asking this from a 1) RAW viewpoint, and 2) DM viewpoint.
So, I've been browsing Occult Rituals because I have an occult-spellcasting Nyarlathotep-worshipping character that can get extremely high skill checks at rather low levels (highest is Bluff at around +50 at level 3). Essentially, by level 6 or so I'll be able to make all the skill check DCs to cast any Occult Ritual listed.
Now then, there is one sample Occult Ritual that seems odd. Reconsecrate Altar seems to have an obvious purpose -- doing what its name says. The problem is that, like with all Occult Rituals, it fails if you don't do it right for one reason or another (failed checks, incomplete casting, wrong ritual actions, etc.)
Most Occult Rituals have super-high incentives to not fail -- namely, you range from serious, serious conditions to insta-death of you and everyone else, sometimes without even the chance of resurrection by wish or miracle. So the idea is "do odd rituals with high power, but have cumbersome casting and risk terrible failure effects."
Fair enough.
The reason Reconsecrate Altar's failure is a problem is because that failure is much, much more desirable often than the effect itself. To quote:
Failure For a period of 1 month, none of the casters can be targeted by divine magic that draws its power from the deity previously tied to the altar. (This is a curse effect, and can be removed with remove curse and similar effects.)
In other words, you and all in your party that you rope into helping you (notably, Occult Rituals say that you don't even have to be a caster class to cast them, so this includes the barbarian and rogue) get total immunity from divine magic tied to a select deity.
The fun part is that there are spells to counteract this. But guess what? You can't be targeted by those spells if the person gets their magic from the deity you just got immunity to. So unless some third party gets roped into this, the divine casters you want immunity to (or nearly so, since some spells aren't "targeted") won't be able to break your """""curse"""".
Now...Desecrate is only a second level spell. It's also a passive aura with some times of creatures/undead. Essentially, here is what this means:
Find a temple of the god of that nasty cleric/paladin/druid/etc. that is heckling you.
Desecrate the altar (Note: if this is an enemy god, or an opposed alignment god, your god will probably like this, or at least turn a blind eye. If you are just doing this to a neutral or allied god, however, repeatedly doing this may cause trouble).
"Try" to Reconsecrate Altar...but then interrupt the ritual, or make the party barbarian do the knowledge checks, or etc.
Oh no! You Failed! You're now immune to any targeted divine magic from your enemy cleric/paladin/druid/etc.
Personally, since I don't like needless risks, I'd stop with step 4. There is, however, step 5...
- If you're really evil and badass, make a business of doing this to every altar you find. You're DM will probably ensure the gods get back at you...but theoretically they would still be using divine magic so you might even be immune to that (just don't let the immunity slack off...). Still, you would make yourself immune to ALL divine magic except that of your own god (assuming you even have a god...enter stage right some kind of atheist/agnostic antipaladin/cleric devoted to freeing humanity from the bondage of religion).
I just want to check my sanity for reading things this way, and also my sanity for considering it possible. :D