Kinda reminds me of Sanctify the Wicked from BoED.
9th level sanctified spell (ie, difficult to learn), necromancy, restricted to evil targets, will negates, sr applies.
Requires a 10,000 gp Focus item, and the sacrifice of one character level. Turns the victim good. They become trapped in...