Germany's ex-royal family win legal case against historian