From Longman Dictionary of Contemporary Englishin name only/alonein name only/aloneNAME OF A THINGif a situation exists in name only, it does not really exist even though officially people say it does a democracy in name only He was president in name only. → name
Examples from the Corpus
in name only/alone• Lewis had been the ward boss in name only, because white precinct captains ran the organization, including him.• Others converted in name only, out of fear, while others stuck to their faith.• Their homes are mobile in name only.• Many of these local mills remain in name alone, having fallen into disuse and demolition.• Don't be fooled by his title: he remains Health Secretary in name only.• The strong mayor system employed from 1881 to 1914 was strong in name only.