That is why you define the code of conduct in more detail. It shouldn't just be alignment based it should be more of conduct based and tied into the deity itself - that is the things the deity finds extremely important and core.