Warning: You may get in legal trouble for using this, if you get arrested and the phone auto-wipes, you could get a “Destruction of Evidence” charge
One could defend itself alleging that they had the app in order to prevent themselves from being blackmailed and/or extorted by robbers which could try to access the phone contents in order to extract information from banking apps, photos, social networks and personal information.
Defending oneself from malicious actors (such as robbers) shouldn’t be a crime.
Interesting possibility, either.