I hear your cough +fakhrou martani
and I want to see the Hijab and the Burqa banned as much as I want to see the mini skirt banned. Which is to say, I do not want to see any of them banned.
If a woman chooses to wear a mini or a burqa (I can't think of a more extreme difference in dress) and as long as it's the woman choosing for herself, then who's business is it.
I don't understand 'codes' of dress, rather 'freedom' to dress as one wishes. Show me the statistics that prove that men rape women based on what they're wearing. I'm willing to bet that you won't find any properly backed stats to show this is the case. Rape is not about men being unable to control their sexual urges. It is about power through violence.
I am sick sore and tired of hearing about these men (none of whom I've ever come across as far as I'm aware, thankfully) that have such a lack of control that the opposite sex has to 'behave / dress' in a manner that doesn't 'disturb' or bring out the worst in these men. This line of argument is a complete fallacy. Used by men who want to control not just women, but society in general.
Customs don't 'see' things, customs perpetuate things. Like you say, laws can come from mere conventions, who chooses what these conventions are and if they continue or not? I'm happy to pay taxes, but I don't want a penny of my taxes going on the next damn war over commodities, against people in favour of profit. I am happy to agree to respecting road signs, they tend to be based on common sense, knowledge and stats, they stop chaos on the roads.
This constant 'war' on women, what we wear, how we behave, this is nothing to do with common sense. It's to do with control, with mad men forcing their insanity on our societies.