Being occupied by foreign powers doesn't break cultural continuity, otherwise you'd claim the modern Greeks don't have continuity with ancient Athens, despite speaking the same language.
Continuity also doesn't mean being static. Modern Greek is not the same as classical Attic. Modern Greeks are Christian, not again, and so on.