justifiable
Justifiable means that something is allowed or acceptable under the circumstances. murder is always unjustifiable, no matter what the circumstances might be.
The death of the hostage was justifiable under the circumstances.
The school decided that the punishment for cheating was justifiable under the circumstances.