Via Volokh: Seems that in CA (& Idaho?) if you kill a person in self defense and you also happen to want the person dead for other reasons, you can lose the affirmative defense.
The take away, for those in CA & ID, keep your loathings to yourself, lest they be held against you.
That is good advice for any state.