It's been explained that for deities, the alignment system is a little different.  Instead of good-selfish-evil, gods have moral-amoral-immoral.  Ain is amoral, not caring about good or evil.
Would Ain best fit the aberrant alignment, if gods had normal alignments?  OOCly, I think so.  Don't expect much IC agreement on that, though. 
 
Can you have an unprincipled judge?  Absolutely!  Consider a judge that upholds the law unless his personal interest is too great.  He's not likely to let a killer go free for a modest bribe.  But to ensure the welfare of his own children, he might well consider it.  He might also be lenient on what he considers penny-ante crime, as well.
Just because a person is involved in law, or is employed by someone, doesn't mean we need to make a special lawful alignment for them.  Such an alignment would be too broad to have much meaning.