a different matter, a separate issue If he wants to buy the land, that's a horse of a different color.
A HORSE OF A DIFFERENT COLOR
Meaning of A HORSE OF A DIFFERENT COLOR in English
English idioms vocab. Словарь английских идиом и выражений. 2012