It does matter if the occupied land is a disputed territory. The new Arab state has no claims against Israel, it's all UN-driven politics and not the law.

That's why US calls Israeli cities and villages in Judea and Samaria ILLEGITIMATE, but not ILLEGAL.