I mean they didn't specify which PIN they wanted, just that he hand over the PIN for his phone and that he could not speak to anyone (lawyer, someone that knows his rights, etc). I don't know your definition of duress, but that situation fits mine and I would have given them the same PIN.
The border bitches asked a poorly worded question, made assumptions about the answer, and proceeded to wipe his phone and blame him for it.