I flew VFR into a Class D area not long ago. I was not only informed of IFR traffic nearby, I was specifically asked to turn away from it for "separation" even though I had it in sight and can self-separate.
I had no objections to this in principle (big thanks for keeping me safe

!!) but why not change your airspace classification to Class C next time to more accurately reflect what you actually do?