Complex sentence: It is not always clear what the object and purpose of the treaty is, especially when treaties are long and complex.
Split into simpler sentences: It is not always clear what the object and purpose of the treaty is. Especially when treaties are long and complex.