Zoning laws in the US don't govern anything other than the initial certificate of occupancy in most US states. They are irrelevant for subsequent sales.
Like the US, Greece has many properties which would be illegal to build from scratch under existing zoning laws. Unlike the US, Greece has pushed a law requiring that all properties be certified as "having no illegal constructions" prior to sale.
I'm trying to imagine the crisis you would get if you enforced zoning laws against secondary sales in the US. At the very least, all of Boston would be uninhabitable.