Unfortunately, these days with how governments want to spy on everything your phone is your biggest vulnerability. Better to travel with a dumb phone than something that will send you to jail. Regardless whether it’s wiped or not, depending on the mood of the officer.