Historian wins Kerr-palace letters appeal