Spanish Prime Minister Pedro Sanchez cited consistency with Madrid's commitment to international law, the UN and multilateralism as the main reasons it was declining to participate.