Turkey used KRG to enter Irag and create its bases. just go back when Iragi government said Turkey should leave Irag within a week, what was Turkish response? "KRG invited us to fight against ISIS and KRG defended it...
So, That was the first attempt and the right one. Turkey also FLooded Irag with its goods as they controlled the border.
Now, Irag understood that they need to work with Turkey and they cannot just underestimate them. Now, Turkey can enter to SInjar and later to KRG too, but now KRG will be afraid to turn its back to TUrkey again...
before talking like Turkey did bad policy, be honest and just check what Turkey went through...