India agreed to Pakistan and thus agreed for Muslim majority area to go to Pakistan. This obviously means that non-Muslim majority areas go to India. Such as East Punjab, which were Sikh and the rest of India which was Majority Hindu.
Alright, so here is the timeline.
1. Junagar declares that it will like to join Pakistan.
[September 1947]
2. India disagrees and protests to Liaquat Ali Khan.
[September 1947] Nehroo wrote this :
in case Junagadh became a part of the federation of Pakistan, Government of India cannot be expected to acquiesce to such an arrangement
3. Jinnah changes stance from what you said above about the agreement and says this in
September 1947 :
the position of Indian states is very clearly defined and it was repeatedly accepted that after the lapse of paramountcy, every Indian state is independent and sovereign and free to join Pakistan or India Dominion
4. Pakistan backed militia entered Kashmir in
mid October 1947.
5. Kashmir's King
declared his agreement to join India in
END of October 1947.
6. India sends forces to Kashmir AFTER Kashmir's King agrees to join India in
End October 1947.
7. Indian forces enter Junagar on
1st Nov 1947.
Now :-
1. By entertaining Junagar's joining Pakistan even while having majority Hindu population and then saying this
the position of Indian states is very clearly defined and it was repeatedly accepted that after the lapse of paramountcy, every Indian state is independent and sovereign and free to join Pakistan or India Dominion
Jina basically went back on the agreement that you mentioned which was based on religion. He had no grounds left here.
Remember this happened BEFORE India did anything. And heck they even protested to you folks.
2. India's military invasion in Junagar happened
AFTER Pakistan's start of military of Kashmir, which HAD joined India (if Junagar precedence exists). Jina simply made it possible by going back on Pakistan's promise that you have stated.
In the light of above two, remaining actions of India about annexing any place is immaterial because they all happened AFTER Junagar situation.
How can you now say that Pakistan HAD any moral or whatsoever grounds to pursue any right on Kashmir?
Jina broke the promise, plain and simple.