I remain concerned that it does not appear that she was told that this was being proposed. If it is true that she had previously elected to have a Caesarean then it sounds odd that she was not asked on this occasion, but instead driven through a legal and medical procedure in which she had no input. I remain worried about how mental capacity is removed and it does not appear that the representative of the official solicitor who was "representing her interests" actually spoke to her. One would think that if she had been asked she would have agreed given that she agreed previously. Reading between the lines of the judgment the main issue appears to have been that she did not want to give birth in England. (understandably in retrospect)
There are a number of questions about the details of the judgment. (such as what her condition actually was, whether she was being treated for the wrong disorder and the true risks of the situation) All of these issues will take some time to sort out. The wrong disorder is the most concerning as this would be the reason why she would not have been recovering (and did recover in Italy) because the treatment would have made her worse.
However, the question as to how people who are deemed "too stupid" to make decisions for themselves are treated in the process of deciding whether or not they are indeed "too stupid" (ie lack capacity) or indeed what the decision should be remains open.