I've heard it said that, whilst on most instruments these notes are played with the same fingerings/technique/etc there is a subtle difference.
This isn't specific to this particular note combination, but to all enharmonic equivalents.
What might this teacher have been referring to?