A federal judge on Wednesday said companies are entitled to benefits from the recent Supreme Court ruling that struck down Trump-era tariffs.