EDIT: I tought it was a new thread, anyway i'll let it here just in case someone needs it.
I have much experience correcting AI lines.
Those are the steps.
Define track limits.(red lines) (obviously)
To load the new side lines to the track, hold "shift" when the track is loading.
You will need to load the new side lines AFTER creating the new racing line.
To define the racing line (purple line), when you press "start recording" and cross the finish line, at that moment all previous lines should disappear in the recording process. Sometimes i have to complete a whole lap before to start the reccording process in order to make those lines disappear as expected, and sometimes i just go in reverse until 100mts before the finish line to start the recording process and it works, depends on the circuit (Why 100mts? Because when you go in reverse the app "stops working", and you need to go forward for a while to reactive the app before to press the "start recording" button). Remember to connect the lines passing trough the exactly same way you started the lap at the end of the lap. In circuits like monaco, if the AI is crashing into the inside wall of the corner, make the inside track limit line in such a way to force the AI to open more before the corner entry, and if necessary reduce their speed in that sector with the AI_HINTS.
That's it, i have many extra circuits working perfectly including Monaco which is one of the hardest circuits to setup the AI. (many tricky corners).