A Coral Gables lawyer carried out a fraud on a state court, falsifying documents to protect a client from having to hand over a $13 million New York condo, a judge found.

Michael J. Freeman’s actions resulted in sanctions against his client, 212 West 18 LLC, owner of the Chelsea condo inhabited by former petroleum executive Todd Kozel. The company will now be liable for a $34.6 million judgment Kozel’s ex-wife won against him last year.