Under a security agreement negotiated with Iraq , prisoners transferred into from U.S. into Iraqi custody must be accompanied by arrest warrants or detention orders -- if not , they are to be released .