Then how did Israel "annex" its territory?Israel did not annex territory on the basis of "occupation."
Through international law when the arab muslims activated their free determination and lost the civil war when they tried to take over Jordan. The land became ownerless for that short period of time and Israel claimed it as theirs.