If someone genuinely transfers property to a company and suffers the tax consequences of transfering property to a company then the Ramsay principle will not change that. The tax consequences of that would typically be (i) CGT on disposal (ii) SDLT on acquisition (on market value), (iii) corporation tax in the hands of the company, (iv) benefit in kind rules apply (if relevant), etc.
If instead you create an SCSp, transfer the beneficial interest in the property to the SCSp, admit the company as a member of the SCSp and makes a capital contribution to it, revalue the property, change the capital profit sharing ratios of the SCSp and then drawdown your revalued capital account then Ramsaywill be relevant. Probably not though as specific anti-avoidance legislation will tax it anyway.
Ah, I read your earlier post as saying that but misread the one I quoted as saying you were selling it for £1. I have no idea what the tax treatment is in Switzerland but from a UK perspective you wil not have a capital gain but income because of the transactions in securities rules. So if you were ever to come back to the UK while the temporary non-resident rules apply to you, you would pay tax at up to 38.1% not 10% or 20%.