50 Cent got what he wanted in the latest chapter of his baby mama drama -- kind of.
A Long Island judge granted him an unrestricted visit from August 3-12 with Marquise, his son with Shaniqua Tompkins. We're told that both parties had to submit to drug tests at the courthouse before the judge would talk visits, and 50 was clean. Shaniqua tested positive ... for cough meds.
Our spies tell us that Shaniqua claimed in court that 50 is keeping her from using her Land Rover SUV by keeping guards at the site of the house that was engulfed by flames last month. He denies that's the case. Baby mama drama continues on September 15.