Anton von Quarient, Dr. phil., Dr. jur. utr.