Notwithstanding any other law, and regardless of whether an association is a corporation, as defined in Section 162 of the Corporations Code, the provisions of Section 310 of the Corporations Code shall apply to any contract or other transaction authorized, approved, or ratified by the board or a committee of the board.