Hi Luca LOMBARDI,
It's not quite clear from the first couple of lines whether you will be disposing of another property in this year as well as the one that you are querying.
I will just concentrate on the property that is queried. We haven't got all the relevant facts, and it's for you to self-assess correctly. What we can say is that how this is treated will depend on whether you actually had beneficial ownership of the property and was ordered by the court to hand it back or if in fact you never had beneficial ownership at all and the contract was simply voided (the exact reasons how this happened aren't stated in the query).
If you didn't ever have beneficial ownership of the asset (which may be the case here) then any incidental costs of acquisition incurred would not be allowable, as per
CG15250 'The expenditure must have been incurred wholly and exclusively for the purposes of acquisition or disposal of the asset'. And if there wasn't any asset actually acquired then it would in effect be abortive expenditure that is not allowable expenditure for CG purposes.
If on the other hand you did have beneficial ownership and so it was classed as an acquisition and then a disposal (for the same amount) then any incidental costs of acquisition or disposal, as per the exhaustive list at
CG15250/60 may be allowable.
However these allowable costs would not include any costs incurred to preserve or defend title to the asset, where that case was lost.
It will be for you to determine (based on the facts of the case) if you actually had beneficial ownership or not (we would only look at this if it was part of an enquiry).
CG70230 has some information on this but they may wish to seek professional help if they need further help with this.
Thank you.