When Margaret wanted to marry her love, Peter Townsend, Elizabeth had an agreement drawn up that required that she give up any right to succession to the throne.
That was done by PM Eden and the Church of England. The Queen would have no power to do it on her own. I don’t believe the ‘Summary of Procedure’ was ever acted on.