If two ERC20 tokens usually are not paired straight, and would not have a common pair in between them, they're able to continue to be swapped provided that a route involving them exists. Router contracts can be employed https://uniswapv3login.azurewebsites.net/