I guess Turkey is meant by this, Iraqis regularly claim that Turkish cross border operations are illegal while in fact Turkey and Iraq have signed the so called ''Border Security and Cooperation Treaty'' in 1983 which allows booth countries to conduct cross border operation if any threat is attacking from others territory.
In fact Turkey is the biggest guarantor of Iraq's teritorial integrity.
During the lack of authority in Iraq, Turkey's relation with Iraq was in a unique situation. The central government in Baghdad had no power in Northern Iraq but Turkey's core issue about Iraq was in Northern Iraq—Iraqi Kurdistan. So, unwillingly, the Turkish government created political relations with Iraqi Kurds, Talabani, and Barzani.:307 An independent Kurdistan and division of Iraq's integrity was also a threat to the Turkish government. So, while Turkey was establishing political relations with Kurdish political leaders, it also signed a hot pursuit agreement with Saddam Hussein and made several military operations to Iraqi Kurdistan against PKK camps. The 'Border Security and Cooperation Treaty' was signed between Turkey and Iraq on February 1983 and the first military operation was made in the same year by the Turkish Armed Forces. Then these military operations repeated several times during the 1980s, 1990s, and 2000s. Turkey launched 24 military operations to Iraq between 1983 and 2008. In this way, Turkey was practising its physical power in Iraq, threatening and balancing the Iraqi Kurdish political power as well as fighting against the PKK. Turkey found a pragmatic solution for its security problem in this unique situation but this situation was only a short term period and it changed after the Second Gulf War and the invasion of Iraq.
https://en.wikipedia.org/wiki/Iraq–Turkey_relations#1990–2003:_First_Gulf_War_and_after