There are actions in human societies which are considered immoral/unethical. Most of them have to do with causing harm to other members of the community and violating their rights as they are defined within the community. For example murder is almost universally considered as an immoral act.
However, there are situations for which murder is considered justifiable. A court will find someone innocent of murder if they can prove that they killed in self defense.
This indicates that there are cases where causing harm to others, even depriving them of their life, can be justified.
I have observed that such harm is justified when the person committing it is in danger of equal or greater harm or one of their, equal or more important, rights is being violated by the other party.
It is this observation that worries me.
If it is true then it opens up a Pandora's box of justifiable immoral acts by people who are being harmed and/or having their rights violated by the community in general.
For example is a person who has not received education and is therefore unemployed (their right to education and employment have been violated by the community) morally justified to steal the stuff he/she needs but can't buy?
Let's take it a lot further. The same person given their status in the community has very little chance to find a partner, yet they have the need to reproduce. Are they morally justified to rape someone?
I assume not so let's turn the question on its head. What would it take to make rape morally justifiable like murder is in the case of self defense? In essence what I am asking is what does it take to make an immoral action moral in a certain community?