I feel it would be quite obvious looking at your device and it's lack of data that such a feature was in force and they would just deny you entry. Nice idea but the problems need fixed in law. IMO technical solutions are just temporary bandaids.
Your device can be confiscated for much longer, of course. You could take that time difference and hopefully permanently wipe account data before the lock expired, but that has the drawback that it's terribly inconvenient for you and causes the government no great concern at all, so it might simply become routine procedure.