It was territory taken in war.
Sure. But was it territory belonging to Israel taken by Jordan and subsequently recovered? Or territory belonging to Jordan taken by Israel? (Hint: Its door #1 - Jordan never had any valid claim past its own borders).
See, legally, either way, that war is over. Israel and Jordan and Egypt settled their differences by treaty (aka international law). Jordan renounced the territory. Egypt renounced the territory.
That entire conflict is actually resolved. Finished. No longer part of the equation.
What we are dealing with here is the internal, domestic, civil conflict between Arab Palestinians and Jewish Palestinians (Israelis). There has never been a defined border between these two conflicting entities. No land has been taken from either because, at this point, each claims the entire piece. The only legislation which creates borders of claim is the one mutually signed at Oslo. Oslo demands that the final borders be negotiated and not imparted. So....it is a legal error to claim that Israel took land in war.