Text: It was a thoroughly legalistic way out.
Entailment: It was the most righteous way to go.
Contradiction: It was definitely not the most legalistic way to do it.