Twestreng, Bartholdus, Reipublicæ Hamburgensis Consul