Converting MetaPhlAn3 profiles to GTDB

Could one use sgb_to_gtdb_profile.py, which “allows to convert a SGB-based MetaPhlAn 4 output into a GTDB-taxonomy-based profile” also for MetaPhlAn 3?

The question was raised in this issue: Incorporate GTDB Taxonomy v214 into curatedMetagenomicData · Issue #301 · waldronlab/curatedMetagenomicData · GitHub

Just following up here - could the MetaPhlAn3 profiles e.g. in curatedMetagenomicData be converted to GTDB taxonomy, or does this need to happen upstream e.g. with the --gtdb_profiles argument to the MetaPhlan call?