When War Helps Civil–military Relations