Redirecting International Trade: Contracts, Conflicts, and Institutions