Crossing the line and too much information!  Effective Nov. 1, 2018 Cal. Rule of Professional Conduct 1.2.1.

The issue is if a lawyer knowingly choses a form, that is outdated, because he likes that it contains a clause beneficial to the client, but that clause has been made unenforceable (i.e. illegal) due to a statute