Thomas Ignaz Freiherr von Böck, Dr. jur. utr.