If you stole my bicycle from me that would be blatantly illegal. If I suggested you can keep my bicycle if you give me your lawnmower and you agreed to that and did so, then that bicycle would be legally yours. Understood?
You implore me no to “confuse international law and resolutions with the demands of the oppressor” but you’re the one who is confused here as I’ve most certainly done nothing of the sort.
The possibility of mutually agreed land swaps is acknowledged in the portion of the resolution which reads “Calls upon all States . . . Not to recognize any changes to the pre-1967 borders . . . other than those agreed by the parties through negotiations”, and also in the endorsement to the road map for peace which called for a final, permanent status resolution in 2005, including on borders, Jerusalem, refugees, settlements”. That’s not to say Palestinians are under any obligation to agree to any land swaps, only that the option is there to do so. The same goes for the refugees, they are under no obligation to accept reparations and resettlement, but the option is there for them to do so, or it least it would be if Israelis ever muster the decency to make such an offer.