https://a16z.com/2014/02/06/why-i-did-not-go-to-jail/
TL;DR, A widely respected CFO makes a suggestion regarding stock and being competitive as far as employee compensation. CFO says that they have done the same thing at numerous companies. The CEO is not very knowledgeable and asks the general council (who unlike a lot of places at the time reports directly to the CEO, not the CFO) to weigh in. General council says don't do it, so they don't. 2 years later, CFO goes to jail, CEO and everyone else stays out of jail because of a good decision.
I would extend your lesson and say to be sure you are asking a lawyer who has knowledge / experience in the area of law you're asking about.