Clarify legal basis and competence first.
In pre-trial detention, criminal procedure, contact rules and court decisions interact. Relatives do not automatically have full party rights, but they can secure documents and organise contact with defence counsel.