you understand me in part and misunderstand in another. I agree that going to court (for anything) is a good idea. Make your good faith arguments.
I am talking about lawyers who give advise to AVOID court/arrest/etc. They are out there and very open about it. Replace with any other non legal act and its that simple. People who are still confused WANT to be confused on it.
I'm still confused by Artist formerly known as Pie. First, your continued use of the phrase "non-legal" is carrying a lot of freight, as you appear to be conflating civil and criminal infractions (malum in se and malum prohibitum). Second, you aren't being specific, at all, as to what you are alleging, or what the fact pattern could be. Facts can make a huge difference. Third, ethical rules do matter- they are not "justifications." Rules regarding, inter alia, confidentiality.
So let's take an easy example culled from your fear of undocumented individuals in America. A student from England has overstayed their student visa, and is currently working in a bar in New York City. She goes to an immigration attorney. What advise, if any, would it be acceptable, in your mind for this attorney to give? Why? Refer, if necessary, to relevant rules in your jurisdiction or the Model Rules.
Now, contrast that situation to this one- a business owner goes to an attorney regarding a tax issue. During the course of the conversation, the attorney learns that the business owner is non-compliant with a local ordinance (which is an entirely separate issue). To comply with this local ordinance (which only involves the spacing of his buildings on his property) would require millions and millions of dollars to rebuild, while his business could not operate, costing millions more. In your analysis, what can this attorney ethically do? Why? Refer, if necessary, to relevant rules in your jurisdiction or the Model Rules.
I'm really curious- after all, real life isn't always so neat. Now, if your argument was that immigration attorneys (but not others?) were lying in court, I would completely agree with you, but now I am even more confused as to what your point really is.