With due regard to good advocates who have made all the difference in getting justice, it is worth note that of late, advocates have ALSO got accuostomed to being business minded. While winning by rightful means should always be the motive, aim; advocates use their skills, professional knowledge to indulge in tricks, deceit. One illegal trick will cause loss to the other side and do all the difference for justice per se.
On the contrary, if the lawyer X is not competent or has not contested his opponent lawyer Y in some trick, then X would have rendered deficient service to his own client. This one lapse might make all the difference to this client.
Thus, both deficient service AND illegality (depending on where you are placed, what is the illegality, by whom etc) are definitely a matter that attracts penal action by the client or the opposition.
Law is law. Law should be law. Law is, should be equal to you, him, it, they, ....... and me. Anything wrong?