in name only idiom
只在名义上
If a situation exists in name only, it is officially described that way, although that description is not completely accurate.
A large percentage of the population is Catholic, though many are so in name only. 大部分人口都是天主教徒,虽然其中许多是有名无实。