Gradenwitz, Otto, jurist