The context in which the treaty between Egypt and Hatta was formed is a matter of great significance. Whilst the Hattic king lowered his tone to a level of warmth in regards to a peaceful effort of mutual partnership, be it border-defenses or curbing the migratory shifting of adjacent populations, Hattushil still dictated his kingdom's needs with a firm hand, particularly in the matters of territorial dispute. And so the first drafting of this peace treaty was composed from the Hatta camp, not Ramses's.
The finely carved letter of cuneiform arrived by horseback upon a silver platter once presented to the pharaoh. Ramses counter-drafted with overtures of his own, agreeing to Hatta's ownership of four-fifths of Syria, listing the specific towns and provinces included, and etched the compromise in metal before sending it back.
In the end, both parties agreed that the other's border would be rendered immune from invasion by the opposing side, with many Egyptian deities quoted by Ramses's scribesmen as honoring the agreement with their divine eyes. Hattushil in turn gave ceremony in the traditional Hattic religious custom (public temple prayer and demonstrations of stately worship amongst both soldiery and citizen alike) before returning to Ramses's draft with an addendum.
Hatta recognized Egypt's sole province in the Near East as Palestine and only Palestine. The entirety of lands within Syria's borders would endure Hatta's dominion. Each of Syria's princes were consigned as traveling witnesses to these discussions, pawns and figure-heads who gladhanded with their overlord and former overlord alike, and in the end, fully accepted Hattushil's and his successors' leadership in all matters of future governance.
The key to knowing which buttons to press during diplomatic negotiations can be tremendously difficult to ascertain. However, when two rivals war with the another for a lengthy number of years, one begins to know thy enemy as well as they might a third hand. Hattushil used the familiarity of his enemy to know what was too much and what was not enough. He rightfully gambled that rather than risking a war with Hatta and her knew ally, Babylonia, it was in the Empire of the Nile's best interest to approve what would otherwise be a lesser deal under previous circumstances.