(1) This section applies if a person acts, in relation to a company, in a manner or a capacity which he or she is prohibited from doing by virtue of being a person who is subject to a declaration of restriction under section 819 or who is subject to a disqualification order made under section 842.
(2) The company may recover from a person acting as described in subsection (1) any consideration (or an amount representing its value) given by or on behalf of the company for an act or service performed by that person while he or she was so acting.
(3) The company may recover the consideration or amount representing its value as a simple contract debt in any court of competent jurisdiction.