A guarantor is not liable if the contract of the principal is unlawful; but he is liable notwithstanding any mere personal disability of the principal, though the disability be such as to make the contract void against the principal.
R.L.1910, § 1040.