CGT and right to buy discounts

I have a question about right to buy and capital gains tax: I have a client who bought a property from the Council with a "right to buy" discount; he is now selling the property back to the Council, after a fire in the apartment block. I have been working on the assumption that the actual (discounted) purchase price is the relavant one to use in the calculation; however, I notice the specific HMRC guidance on the online self assessment tax return process: "Use the market value in place of the price you gave if you received the asset as a gift, if it was deliberately sold to you for less than its full value, or if you acquired it from a connected person." Does this imply otherwise (ie that I can actually use the market value? Thanks