The city is suing oil companies over global warming. Trump says lawsuits like these threaten national security. The judge wants to hear what both sides think.