He would legally be the natural heir, yes, although as the article states there were efforts to disinherit him to avoid a personal union with Saxe-Weimar-Eisenach and seek out a more junior member of the family (like his brother Bernhard, who IOTL died young, or his first cousin Heinrich of...