The guaranty surplus shall be held and be invested by the company in the same manner as its capital stock and surplus accumulation may be held and be invested, and shall be liable and applicable in the same manner as the capital stock to the payment generally of the losses of the company.