No problem with it. But you need both parties to be rational and with a philosophy that respects individual rights.
Throughout history, most states were not that. Which means that if a state grew strong, it swallowed it's neighbors. Even today, there are some strong states which are trying to swall...