By any reasonable interpretation, it is entrapment, and a fair number of lawyers out there were pretty unhappy, some vocally so, with the outcome of that whole shitshow.
Please compare and contrast "reasonable" and "legal" interpretations.
While such a comparison might rub you (and me, for that matter) the wrong way, it's the "legal" interpretation that holds in a US Article III court[0].