I don’t think that would fly as a defense in court.
but that's not the point, the point is to not wind up in court by presenting a phone that no long contains evidence but seems plausibly like your phone so doesn't arouse suspicion
Evidence Tampering
I'm imagining a duress code that erases select files and any indication that there was ever a duress code set up in the first place.
Setting aside the now-regular attacks by the state on traditional 1st amendment rights (demonstrating, journalism, criticizing the government):
Authoritarianism's disregard for the 1st amendment doesn't stop just because one potential legal technical interpretation maybe says they should.
goal: not getting caught
their need: evidence of tampering