Not possible...to isolate that breaker from the panel
You can remove those two wires hots and neutrals
And connect then to the output of an ats
Run new wires from the breakers to one of the ats inputs
And wires from the inverter to the other ats input
Since you have two circuits you really do need a breaker box between the ats output and the two circuits/breakers
Those breakers are physically and electrically connected to the hot buss of the panel, can't be electrically isolated while physically plugged into the panel
Your drawing is a mess, as far as electrical design
You need to redo it using the info you have been given here
Switch only the a/c do not switch inverter dc our converter dc
You cannot feed those breakers from the inverter, it's not possible
You have to use them to feed one input of the ats take the ats output to the actual circuit wires