Sorry but I am not sure I understand.
If you sell a non compliant share from company A. You will take back the initial capital amount i.e. £100.
If you sell it for £95 it means you are trading it at lost.
Even if you add £5 taken from company B, you are still incurring a lost when selling the share of company A.
Can you clarify what you mean please?