If a dress code says, backless dresses are fine, then why did that girl get kicked out of her dance?

prom/homecoming whatever it was that she was at, wore a long short sleeved, blue dress with polka dots that was backless. the code said you were allowed to have a backless dress. why did she get kicked out though?