I may have missed this somewhere before, but wasn't Jadzia the CO of the Defiant while Sisko was Admiral Ross' adjutant? And wasn't she still in her blue uniform?
That was a temporary command, not a permanent one. We've seen non-command division officers take over a ship for a limited duration before like Data did with the Sutherland
and Crusher with the Enterprise