"If there is a possibility of achieving a long-term solution to this problem with diplomatic means, we prefer that," he said. "But if not, I'm sure you understand that Israel will have to take whatever action is necessary to defend its people."