A New York judge has ruled that Maurice R. Greenberg , the former chairman and chief executive of the insurance giant American International Group , has the right to see an extensive internal report about the accounting issues that led to his ouster .