Sweden's ambassador has been ordered to leave Iraqi soil and Baghdad's envoy from Stockholm will be withdrawn.