Lawyer here (Sri Lanka). Our responsibilites are similar to the UK--your duty as an officer of court comes first. Attempting to subvert court processes this way would result in sanctions, if not outright disbarment.