For clarification… setting a database to offline will prevent new Site
Collections from being added to the database, not sites. If users have
permission to create subsites, they will still be able to do this in an
off-line database. Max sites a database can hold also applies to Site
Collections, not sites.