Since he was already aware of all of that, he had decided to use his trap to his advantage.
It was the only way to win—or rather, to survive.