Obama didn't have to adhere to it.
So you are seriously suggesting we occupy an allied country because we dont want to adhere to a treaty we signed? So instead of the Iraqi military being against ISIS with our help. It would be ISIS plus the Iraqi military? That would had bee a wonderful ending.