When the principal is out of the State at the time of service and has no agent therein and does not appear in his own person or by attorney, any one or more of the trustees having goods, effects or credits in their hands, and being adjudged trustees, may appear in his behalf and in his name plead and defend the cause.