If the gig description states a clear dress code and you do not meet these requirements, you have not complied with the regulations. The client would be within their right to send you home and report it as 'gig not completed'. If the dress code is not clearly stated, you would remain entitled to work the gig.