In these cases, the differences seem merely apparent as the same general principles apply across the board that is, the apparent differences can be explained away by, e.g., pointing to the contractual obligations , the differences in skills etc. For example, doctors are permitted to cut our bodies but they have a skill they use to help rather than to hurt. Similarly, judges and police officers have a skill they use to help entire society. This sort of difference is not really a conflict.
Religion requires of the agent more than morality.
However, religious requirements are in this case requirements to do something morally permissible. We might say that, in this case, religion is stronger than morality, but not in conflict with morality. This case may be represented by the same graph. We must, assume however, that the area on the left represents legal permissions while the blue oval represents moral requirements. But morality is not in conflict with law, it is legally permissible to fulfil the moral requirement of telling the truth.