A Delaware Superior Court judge has ruled that AR Capital is entitled to insurance payments to cover legal costs stemming from multiple lawsuits and a regulatory investigation into a $23 million accounting error at real estate investment firm VEREIT Inc.

Judge William C. Carpenter said Wednesday that AR Capital, a New York-based investment and advisory firm, was covered under VEREIT’s insurance policy for management services it had provided to VEREIT before the errors were discovered in late 2014.