We had a previous discussion that involved the question of whether an RC can defer s23 discharge at all: Deferred RC Discharge - Can this be revoked?.
Assuming that the RC’s s23 discharge took effect immediately or on the future date, the outcome will be as described above: the CTO will either never exist or will end straight away. Alternatively, you could argue that a s23 discharge that purports to take effect on a future date has no effect and does not discharge the patient at all, in which the case the CTO would be all right… but the easier course would be to assume that there’s no CTO.
I’m not sure that the RC’s intention is relevant to the consequences of his or her decisions!