One of the reasons why the Queen's Royal Starship lacks any offensive weaponry

The Queen's Royal Starship lacks any offensive weaponry. There are many reasons why. I think one of the reasons is because of a treaty that was signed between the Rebel Alliance and the Galactic Republic.