But I don't like it either.
At present due to world opinion Israel have to pay lip service to the UN resolution. IMHO they know that the terrorists will not comply so they can respond. Of course it will be reported as Israel breaking their word.