According to the rules:
An inquisitor’s alignment must be within one step of her deity’s, along either the law/chaos axis or the good/evil axis.
So what happens when the alignment of an inquisitor changes from lawful good (assuming that is the alignment of his deity) over time to lawful evil (or anything else which is more than one step apart)? Does he lose all his spells? Can he just change his deity? Can he become atheist and still have his spells?
A RAW answer would be great!