Israel can go for this adventure, and world community WILL be neutral about it, I am sure, 'cause UNSC is not going to approve a attack on Iran in anyway. Pakistan cannot afford to take a chance, we should do everything possible to stop Israel from expanding from where it is now. Can you imagine a scenario where we have to counter Israeli Air Force and Indian Air Force at the same time? Trust me, Pakistani security management team is not naive as you, they are taking every possible precautionary step, these statements are the beginnings of the warnings to Israel.
Once Israel gets to Iran and destroys its Military, we will find it very hard to defend ourselves in possible future war, which is going to be imposed on us anyway. Best way is to side with Russia, China and Iran and get all the Arab countries in this camp which Pakistan can very well do. Turkey will also support Iran in this case. No matter what happens, Israel should NOT succeed in its evil designs.