Planets that defect as a result of a sector capital capture do not always lose their trade routes. Some trade routes will remain extant between worlds that are now of different sovereigns, although nothing will actually be exchanged. Which player can cancel the trade route seems to depend on the direction of the trade route.

george moromisato 6 Mar 2017:

Fixed. Trade routes get removed, if they cross empires. This fix has been deployed.