Yes, but if all the other gulf states back SA then maybe not. Pakistan has nukes too.
So who does Pakistan side with in a brawl between SA and Iran?