Unfortunately swimmers do sometimes get disqualified.  Often the codes used are not understood by parents and swimmers when they appear on the results.