Honestly, given what I know here (a full case might be different), I would believe they did it on purpose.
Take the hypothetical as posed: duress code one digit off, entered while detained after being interrogated for hours, and repeatedly pressured to unlock. The government has to prove beyond a reasonable doubt that he knowingly triggered the wipe and did it for the purpose of impairing the seizure. Nothing about that scenario makes mistyping an unreasonable explanation unless there is more circumstantial evidence that indicates him intentionally providing the wrong PIN.
Proving that to a jury looks very hard.
Is a piece of software subject to patents? Is it export controlled?
Both of those can change without the data changing at all. A new patent can be applied for and accepted, at which point all code the patent description matches is potentially encumbered (even if it was written with no knowledge of the patent or before the patent existed, yes our patent system sucks).
Export controlled is also a matter of laws, not an attribute of the data itself, and laws change independent of data.
All of a things properties are not contained in or expressed by the thing itself.
https://rust-lang.github.io/rfcs/3559-rust-has-provenance.ht...
Like we know X but the colour of the fact is red, and we need some way to figure X out with a colour of green or blue.
Programmers have trouble seeing color (two identical numbers are the same bits, how can typing '1234' to unlock one phone be legal, and '1234' to unlock another phone be illegal?)
Courts care about color (intent, provenance, permission), even though that color cannot be digitally represented.