I believe the FBI was involved in investigation because he sex texted child in another state. Still could be NY FBI agents who obtained them.
You are probably correct re the investigation.
I still believe that the NYPD forced this action by Comey!