Uh... you don't lose your technology. Thats just plain silly. The tech thats traded is added to the respective nations.

And I posted this somewhere else, but its mostly because the AI looks at regions in a purely literal way. They see the benefits of that one, and the benefits of that one, and ask you to trade. Of course, this leads to ridiculous offers like Lithuania for East Prussia, or Ukraine for Flanders.