It is a three step problem (bug?):
- your teammate researches a patent;
- then is bought out by an opposing player;
- finally you buy that opposing player.
You can now re-research all the patents that the opposing player held, except for the patent(s) that were researched by your (now former) teammate.