I don't think it will hold up in court if the only evidence is chat logs. After all, it's basically impossible to prove who was holding the phone when a message was sent. But this should be enough information to make arrests and collect additional evidence, e.g. a stash of illegal firearms.