City and county officials have ordered the Grandview Apartments in Paso Robles to fumigate for bed bugs and cockroaches.
The move comes as dozens of tenants are being evicted from the apartment complex.
In May, tenants filed a class action lawsuit against the owners of Grandview Apartments, claiming they were living in units infested with insects, vermin and mold.
After the court allowed the owners to inspect the property to see how costly repairs would be, the owners decided to instead shut down their business and sell the property.
An attorney representing the tenants says that while the fumigation will be an inconvenience, it will allow the tenants to take their belongings with them when they move out.
The city and county are reportedly working on finding temporary housing for the tenants who will be affected during the fumigation process.
Grandview's owners have been ordered to pay $1,000 to each unit for having to relocate and return the full security deposit within a week after moving out.