I think this statement weird. End-to-end encryption is very recent, the data asked by the judge is for communication made before this feature roll-out. So I'm assuming Whatsapp do have the information for these two particular cases. But I could be wrong.
Anyway, maybe they are just using it for PR support on their position against the court decision, betting that all of that Telegram new users will come back to Whatsapp after the suspension (that's what happened before).