Mihos,
I think you are misreading here. Letter 222 [EA#222a gc(25)]: states, `To Intaruda, the man of the city of Akšapa, say. Thus saith the king: I have caused this tablet to be brought to say to thee: "Beware, let the place of the king which is near thee be guarded." Behold, the king has sent to thee Hanni, son of Mairia, the deputy(?) of the king in the land of Canaan (Ki-na-ah-hi)....
From this it is clear that "the King" is the Egyptian pharaoh, and that Mairia, as deputy of the king, is the deputy of pharaoh, not of the Canaanite king.
Lee