This idiom is about an unpleasant surprise in a confrontation, someone thought to be easy to handle turns out to be much tougher instead. Let's test each option against that sense:
The first two options read the idiom too literally around "catching" someone, and the third loses the "opponent" sense entirely, leaving only the option that captures the figurative meaning of encountering an unexpectedly tough adversary.
Therefore, the correct answer is To deal with a person who is more than one's match.