1804 – 1850, Oberappellationsgerichtsrat in München; Präsident des Appellationsgerichts in Aschaffenburg