In none of my scenarios am I describing actions to be taken after you have been told to unlock the phone. I’m talking about before you ever approach the border. There is no functional difference between wiping a key which encrypts the entire device (but leaving the encrypted data in place) vs wiping the entire device, from a security point of view, except one requires twiddling fewer bits to restore the data.
My point is that the law is unable to see that equivalence, but it is also unable to compel a different result. If choice A and B are identical for security purposes but the government can technically prosecute A but not B, all they have accomplished is forcing people to choose B.