A judge has ruled that HDG Mansur Investment Services must return $5.8 million in fees it paid itself from two equity funds it managed under Islamic law. The Indianapolis real estate fund asset manager didn’t have the right to recalculate its fees to claim a higher take for itself, according to federal Judge Colleen McMahon of New York. The lawsuit contends that, starting in early 2012, HDG Mansur began paying itself fees in advance for future real estate transactions. When those deals never happened, the Indianapolis company came up with the underbilling rationale in an effort to cover up the unearned payments that they had been making to themselves. HDG Mansur was dropped as the funds’ manager earlier this year. The judge also ordered HDG Mansur to pay 9 percent interest on the fees that are to be returned.