Who considered the war to be legal?