This source posits that the succession to the British throne is ultimately in the hands of the Parliament, not the queen or royal family.
The news source considers an important counter argument to bypass Prince Charles in the succession, that even though he (re-) married a divorced woman, Lady Camilla Parker Bowles, he has a lot more experience as a royal than his son and daughter in law, and would therefore make a better monarch.
The British government was an important factor in the abdication of King Edward VIII because of his marriage to Wallace Simpson. Could it, in theory, step in to prevent the ascension, or cause the early abdication of King Charles III, even though it is not likely to do so?