following the precedents. No future Law can overrule previous Laws. Res 242 does not use "have respect for" as you suggest. Instead the language is "..the need to work for a just and lasting peace in which every State in the area can live in security..." That is euphemism for negotiations. That is why the following international efforts have alwat emphasized the need for direct negotiations and will continue following this precedent. Those who argue for a UN imposed solution completely miss on this point.
First refugees travelling on Hungarian bus arrive at Austrian border (Reuters)
from the article: Four years on, Netanyahu returns to Bar Ilan more hawkish than ever