Comment by int_19h
There are situations when you genuinely must betray your country to protect your friend, or vice versa.
For example, if your country is a multiethnic empire that is unsustainable as a single entity without compulsion and forced assimilation, and your friend happens to be an ethnic minority in it.