Lindsay Lohan's freshly fired lawyer tried to convince the judge and prosecutors to allow her to go to a facility that had no right to offer rehab services.
TMZ has obtained court docs that confirm the story we broke last week ... that Morningside Recovery in Newport Beach had NO license to provide substance abuse treatment ... despite attorney Mark Heller's representations to the contrary.
A State official sent a letter to Judge Jim Dabney making it crystal clear ... Morningside had its license revoked in Sept., 2012 for numerous violations, including failing to report the death of a patient, providing unlicensed medical services and improperly handling prescription meds.
In fact, the letter says Morningside has flaunted the revocation, and continues to provide rehab without a license, so a State agency is now taking the facility to court to get them to stop.
As for The Betty Ford Center -- where Lindsay is currently receiving treatment -- a rehab case manager submitted a letter saying Lindsay will get a treatment team consisting of a physician, nurse, psychologist, primary counselor, case manager, spiritual care counselor, family counselor, dietician, fitness trainer and chemical dependency technician.