Translate the following English sentence to French:
"Today we have created a situation in which the principles of the rule of law are still upheld, but in which legal practitioners remain bound to secrecy if they are either representing their clients before a court or advising them on a legal matter."
Nous avons su conserver les principes de l'État de droit qui maintiennent la confidentialité lorsqu'il s'agit de la représentation des mandants devant un tribunal ou dans le cadre d'une affaire juridique.