No, to my knowledge, they ask you to enter your PIN/password yourself. They don't enter it for you. I believe he entered it himself, at which point the erasure began. The erasure process was witnessed by the officer.
So the real problem in the end is that your duress system should not put a big message "erasing all data" but "loading" slowly and just look mostly empty.
From https://arstechnica.com/gadgets/2026/07/activist-charged-wit...
> Tunick provided this code to an agent, who entered it on the phone, after which “the screen went blank, flashed several times and the phone appeared to restart.”