The logic is that government and laws are backed up with the threat of violence. Unless you can beat them with violence, then you have to play within their rules.
At least they have a system of rules you can play within. Think of a place like North Korea. Being a sovereign there isn’t going to get you anywhere but dead.
There are no such things as rights. They are theoretical. Rights are just rules that those with power decided to let you have. Best we can do is try as a collective to make sure that laws provide more good than harm.
So it comes down to what matters more to you: Being right or being free as possible from violence
Aww. Now kiss and make an international treaty, you two