What about all the government jobs that come with accommodation
Dorneywood, Burnham — official ministerial residence; a country residence usually for use of the Chancellor, or for the Deputy Prime Minister
Admiralty House, Westminster — official ministerial residence
Admiralty Arch, Westminster — official ministerial residence
No 1 Carlton Gardens, Westminster — official ministerial residence; usually for the Foreign Secretary
Chevening House, Chevening — official ministerial residence; usually a country residence for use of the Foreign Secretary (during the Cameron ministry, jointly with the Deputy Prime Minister)
Hillsborough Castle, Hillsborough — official ministerial residence for the Northern Ireland Secretary
Speaker's House, Palace of Westminster, Westminster — official residence of the Commons' Speaker
Lord Speaker's Apartments, Palace of Westminster, Westminster — official residence of the Lord Speaker.
When you sold of the palaces you would of course have to make living arrangements for all the servants you've made redundant. Presumably you would have to rehouse them, but it doesn't matter does it because they served Royalty, so just throw them out.