23. Liability in contract.
Every registered trade union shall be liable on any contract entered into by it or by an agent acting on its behalf: Provided that a trade union shall not be so liable on any contract which is void or unenforceable at law.