It is an old principle that lawyers should not be identified with their clients’ causes. But it is being battered in a new environment of accountability, social justice and amplified passions on social media. Despite being old, often emphasised during criminal cases in the past, it is not often written down. However, it does appear in the United Nations Basic Principles on the Role of Lawyers (paragraph 18): ‘Lawyers shall not be identified with their clients or their clients’ causes as a result of discharging their functions.’
https://www.lawgazette.co.uk/commentary-and-opinion/a-basic-principle-under-attack/5107490.article