All the exports of the smaller partner in any given pair will be de-dollarized, while the larger partner will then match that with their own exports. This pragmatic policy ensures that there’s enough national currency in circulation to meet their minimal bilateral trade needs while also keeping a comfortable amount of dollars circulating to facilitate their trade with other countries that still feel more comfortable using the greenback.
Bartering, in international trade, thus avoiding the use of expensive US Dollar reserves for payment. Simple idea.