This Judgment from Apex Court based on Sajjan Kumar case affirms that the liability against an opining advocate arises only when the lawyer was an active participant in a plan to defraud.
CBI, Hyderabad Vs K. Narayana Rao on 21 September, 2012
22) … In the law of negligence, professionals such as lawyers, doctors, architects and others are included in the category of persons professing some special skills.
23) A lawyer does not tell his client that he shall win the case in all circumstances. Likewise a physician would not assure the patient of full recovery in every case. A surgeon cannot and does not guarantee that the result of surgery would invariably be beneficial, much less to the extent of 100% for the person operated on. The only assurance which such a professional can give or can be given by implication is that he is possessed of the requisite skill in that branch of profession which he is practising and while undertaking the performance of the task entrusted to him, he would be exercising his skill with reasonable competence. This is what the person approaching the professional can expect. Judged by this standard, a professional may be held liable for negligence on one of the two findings, viz., either he was not possessed of the requisite skill which he professed to have possessed, or, he did not exercise, with reasonable competence in the given case, the skill which he did possess.
Citations: [2012 SCC 9 512], [2012 SCC CIV 4 737], [2012 SCC CRI 3 1183], [2012 SCC ONLINE SC 766], [2012 CRILJ 4610], [2012 KERLT 4 92], [2012 CTC 6 569], [2012 GUJ LH 3 373], [2013 LW 1 681]
Other Source links: https://indiankanoon.org/doc/186107198/ and https://www.casemine.com/judgement/in/5609af1ee4b0149711415a83
Index of Discharge Judgments u/s 227 Cr.P.C. is here.