This also happens in New York— one can buy an apartment with a rent-stabilized tenant in a building which has been converted to a coop. The tenant has a right to lease renewals until they die (and any family living with them at time of death has a right to lease renewals as well).
Here is one: http://streeteasy.com/building/243-west-98-street-new_york/7...