Say you (as the US) wanted to keep the same level of trade between the US and China- and the tariffs rose and the yuan fell in such a ratio that this remains true.
The net outcome is good right? The US gets slightly more tax (larger % of a smaller number), Chinese economy has to deal with loss of currency value?