A public agency in California acquired a market-rate apartment in metropolitan Los Angeles and plans to convert the property into much-needed affordable housing, an issue that could be exacerbated when pandemic-era eviction moratoriums expire in the high-priced state.