Perhaps because I usually don't consult lawyers, I don't have a sense about how they provide legal information. I have this imaginary scenario in my mind.
Here is one of many possible examples. Imagine I ask a lawyer this question:
I'm in a bar. There is a rowdy guy standing next to me. He says to me "you wanna fight?" and smiles. I slap him in the face.
The lawyer happens to say: "Because he challenged you to a fight, you are permitted to hit him in this case."
Then the scenario happens in real life. I punch first. There are many witnesses. The guy says "I was only joking. I wasn't serious at all. It was only a question, not a threat". He wants to press charges for battery. It goes to trial. "Punching or striking another person is considered a crime of battery." I am convicted and sentenced to jail for punching him.
Question 1: would the charges be lessened if I say that my lawyer told me it was OK?
Question 2: is the lawyer now liable for damages?
Question 3: let's say the scenario was very different, involving something much more complicated, such as copyright law, or building code, or patent infringement. If the lawyer provides incorrect information, there could be civil or criminal penalties. In court, what effect would saying "but my lawyer told me it was OK" have?