Alex, the "occupation" is not illegal. It transpired as the result of a defensive action. The basic conditions needed in order to hand it back, have not yet yet occurred.
Police disperse hundreds in brawl in Kafr Manda, northern Israel (Haaretz)
from the article: IDF strikes Gaza five times following recent mortar barrage