He felt he had to resort to it.
You can be generally opposed to something, but accept it as the least bad option in a specific situation.
You can be generally opposed to something, but accept it as the least bad option in a specific situation.
Also, what proportion of student cheating do you think is by students who are generally opposed to cheating, but feel they really had to do it just this one time?