Bosch, Cornelis, Lawyer