Gustaf Wathier Hamilton — Swedish count, jurist and civil servant