As long as the Gorkhas were invading disunited hill states, this policy--or lack of policy--was adequate.
Continued aggression led Nepal into disastrous collisions with the Chinese and then with the British.