Avoiding Tariffs in a Trade War