In name only

Not actual, only by name.

The man was an animal doctor in name only and had never once treated a sick or injured animal.