I want to know the answer to the following question:
what treaty  allowed the Eic in to the then kingdom of nepal?
All the background I'm provided with is that "The aggressive policies of Lord Wellesley and the Marquis of Hastings led to the Company gaining control of all India (except for the Punjab and Sindh), and some part of the then kingdom of Nepal under the Sugauli Treaty.". Is that enough to answer the question?
Answer: yes