If they are in the same layer then you have to manipulate how they trim (if you can't manage it with the wall priorities).
The best way is to select the wall you want to manipulate and CTRL click on the edge of the wall where you want it to terminate.
This way you control how the wall trims and you are not relying on the reference lines to automatically trim.
I'm not sure how this will go against a tapered wall though.
However if they are in different layers than you can give each layer a different intersection priority number.
Walls in layers with different numbers won't trim.
And I have heard if the intersection priority number is 0 (zero) they will not trim at all.
Remember the layer priority numbers are saved with the layer combinations and can be set differently for each combination.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11