President Trump on Thursday scored a legal victory over his battle for the release of his tax returns.