great need vs. breaking the law theme

The following kind of dilemma is illustrated: Is it morally okay to break certain laws if that is the only way to protect your life? A friend's life? A pet's life? Your house?

Examples

The Bynars saw no other choice than to hijack the Enterprise-D to save their homeworld in tng1x15 "11001001". If they had asked, the Federation might have said no.

11 total · 3 choice · 4 major · 4 minor

StoryLevelMotivation
ahp1x39 choice Richard stole $450 in back wages from his boss because he was hard up for money.
ent3x19 choice Should Archer raid the Illyrian vessel and steal the warp coil he needs to repair Enterprise and continue his mission to save Earth from destruction?
tng1x15 choice The Bynars hijacked the Enterprise to save their planetary central computer.
ahp1x27 major Mr. Crabtree decided against the murder even though he desperately needed the money for his wife's treatment.
ahp4x16 major The story hinged on the idea that Eddie had robbed Miss Fox in order to save his gravely ill girlfriend. It transpires that he had not.
movie: Bicycle Thieves (1948) major Antonio in desperation tried to steal another man's bicycle at the end
talesoftheunexpected2x16 major Hardy, who was broke and out of work, mugged a man.
ahp5x32 minor Joe thought twice before taking a wallet from a seemingly dead man because he need to pay the bills and was out of work.
ds95x16 minor Richard and Amsha made the decision to illegally genetically augment their dimwitted son Julian
futurama4x04 minor Leela and Fry had to steal the Gemerald to save Leela's parents.