It's not like the honor code has a 1 to 1 relationship between infractions and consequences. He may have know there was a risk, but people take risks all the time, and generally in the real world you are given some sort of knowledge of what an infraction results in. You speed, you get a ticket. At BYU, you break the honor code and someone gets to decide whether or not god feels it was a major sin or just a mistake. Then they get to arbitrarily choose your penalty.