When in any suit in equity the number of parties exceeds thirty, and any one of such parties jointly interested with others in any question arising therein shall die, the court may nevertheless proceed, if in its opinion all classes of interest in the case are represented and the interest of no one will be prejudiced by the trial of the cause, to render a decree in such suit as if such person were alive, decreeing to the heirs at law, distributees, or representatives of such person, as the case may require, such interest as such person would have been entitled to had such person been alive at the date of the decree. The provisions of section twenty-six, article three of this chapter shall apply to decrees entered under this section.