When Intervention by Foreign Powers Is Justified