Spain’s Prime Minister Pedro Sanchez has condemned the US-Israel war on Iran as a breach of international law.