only in name
Having the status of something only with label or terminology, but not in reality; nominally. The phrase is more commonly seen as "in name only." He's a member of the party only in name—his voting record shows that his values are very divergent.