Ripple Labs scored a partial victory in its lengthy legal battle with the United States Securities and Exchange Commission, which dates back to 2020.