Wiping could be the last resort. Instead how about auto creating a new profile! As far as I remember Android profiles isolate apps, files, and system data and providing a fresh environment without erasing the device. To make it feel more authentic there could also be an option to automatically install a few commonly used apps by default. Thats it. (assuming the officials don't have time for an thorough inspection)
There are forensic tools that can probably bypass those. I don’t think the agent is just going through your phone by using the phone itself, though maybe it is that stupid, idk.