It's occupied. UNSC resolution 242 allowed occupation. Under occupation, it is illegal for the occupier to unilaterally annex or institute it's own civilian law or build civilian infrastructure and/or dwellings for it's own civilian population.
UN: At least 1,332 Iraqis killed by violence in July (AP)
from the article: IDF official: Neither Israel nor PA wants violence