As a swimmer and swim official, this is particularly offensive to me. If anyone ever did that at a swim meet for which I was the referee, I would DQ them.
If I attended that meet and saw what he did, i'd be on the railing booing as soon as the anthem was finished.