Michael Jordan may be one of the most famous athletes in the world, but that didn't stop the powers that be at Miami's La Gorce Country Club from giving him the boot on Wednesday -- because he was wearing cargo shorts.

The six-time NBA champ was in the middle of playing a round of golf when a club representative asked him to return to the clubhouse and change clothes. When Jordan refused, he was asked to leave and not come back.

The club told ABCNews.com that it has a strict dress code and said that its members have been warned about wearing untucked shirts and flip flops instead of shoes.

Jordan's rep said in a statement, "Michael Jordan did wear cargo paints. He had been there many times before and had worn cargo pants previously, and had never been made aware that he was violating any dress code. This time he was made aware of the violation on the 12th hole, and at that point he did refuse to interrupt his game, and return to the clubhouse and change. We were not aware that he is not allowed to return to La Gorce. I guess it's their loss -- as M.J. is a great golfer, and a great guest."

Jordan's wardrobe choices have inspired a Tumblr blog.

Read More: ABC News

Getty Images