As West Battles China, a Trade Ally Tries to Keep Both Doors Open