A Manhattan federal judge has ordered The New York Times Co. to turn over emails with its outside counsel regarding its decision to terminate a “full-time freelancer” who worked with the paper as a photographer for 10 years.

U.S. District Judge Paul G. Gardephe of the Southern District of New York on Friday ruled that the Times could not withhold two emails it exchanged with its attorneys from Proskauer Rose because the paper’s defense in the misclassification, discrimination and retaliation suit centered on advice it had received from counsel.