New York DA's office debated whether it can beat Trump in court