The Iraqi military on Tuesday said U.S. troops leaving Syria and heading to neighboring Iraq do not have permission to remain in the country, the AP reports.

Why it matters: The denial contradicts U.S. Defense Secretary Mark Esper's Oct. 20 statement that all the nearly 1,000 U.S. troops leaving Syria will continue to fight against the Islamic State, or ISIS, from western Iraq.

Details: However, the Iraqi military said U.S. troops that left Syria can enter northern Iraq’s semi-autonomous Kurdish region but that they will have to relocate out of Iraq eventually.

Go deeper: Trump's Syria strategy: Get out, but "keep the oil"