Override a vocabulary

If I in a theme want to override a vocabulary, what are my options ?
(the vocabulary is defined like this)

@implementer(IVocabularyFactory)
class ThemeFragmentsTilesVocabularyFactory(object):

You are talking about a theme package, right?
Then you can override it with zcml.

The original registration is:

<utility
    factory=".tiles.ThemeFragmentsTilesVocabularyFactory"
    name="collective.themefragments.tiles"
    />

https://docs.plone.org/develop/addons/components/zcml.html#overrides

Something like that.

Thanks