Securities and Exchange Commission

got a court order that forbids

American International Group

(AIG) - Get Report

, former CEO Maurice Greenberg and the foundation he partly owns, C.V. Starr, from destroying documents related to the agency's accounting investigation.

The SEC subpoenaed documents related to its probe in the last week of March. Many of them are located outside the U.S. at AIG and its subsidiary companies in Bermuda and Barbados.

"We sought this order in response to reports of the movement of documents subject to this investigation," the SEC said in a release. "This order will ensure the security and integrity of documents is preserved and that relevant evidence will be available in our ongoing investigation."

Last Friday,

The Wall Street Journal

reported that a lawyer representing Greenberg had tussled with the company over the control of some documents that were removed from an AIG office in Bermuda. The incident reportedly led to a threat by New York Attorney General Eliot Spitzer to indict AIG if Greenberg wasn't removed as chairman. The documents were reportedly later secured at a law office.

Greenberg retired on March 28 from the company he had run for nearly four decades.

Thursday's order "prohibits the respondents from interfering with the ability of the commission to obtain any and all documents in the respondents' possession or control," the SEC said. It also sets a procedure for documents outside the U.S. to be secured and brought to the U.S.