If he wasn't going to sign he shouldn't have come, he could just have done an open letter in the NYT about how he'd like to have more cooperation, but this didn't suit Ukraine in its current form.
If he was going to sign, he should have been prepared to suck up a bit. Open with gratitude. And...