It's often down to circumstance.. murder is wrong if it is committed on a person who hasn't done any harm and was a victim of senseless violence but if I wouldn't say it is wrong if somebody did in response to someone senselessly murdering a relative of theirs just because they could.
I think it is always a matter of circumstance which cannot always be measured because there are so many factors.