There are laws against the destruction of evidence, but I'd argue that there's no evidence in this case since they don't have clear-cut knowledge what's on the phone. It's potential evidence at best and it's therefore not clear if the law applies.
If Customs already knew whether the suspect had incriminating files on his/her phone things might be different.
> if customs knew...
Even then, they'd have to produce such in court. ?