In the episode, Sisko and Bashir want to enter a building to take a look at the area from the top of the roof. The inhabitants of the building deny their request at first. But then they say "they could make a deal". In the next scene, we see Sisko and Bashir in a corridor of the building, wearing contemporary clothes instead of their uniforms. As far as I get it, there is no explanation given of what "deal" they made. Is it implied, that the "deal" was, to trade their uniforms for a complete set of clothes, with jackets and so on AND access to the roof top? That seems to make no sense. Their uniforms were seen as "pyjamas" and "looking like clowns" by the others, and I can't think of any reason why anybody would trade them with a full set of clothes and even more.
So what was the deal? If it was a trade of their uniforms, why do the inhabitants of the building want the uniforms and give full sets of clothes AND roof top access in exchange?