Yes, I think that is correct, but I cannot remember from which date. And some may have permits in place and thus not being illegal. It depends a bit on how the city of Berlin has dealt with the "problem".
It may also be that rooms in homes are ok, but renting whole apartments are a no-no.