(CNN) Brigham Young University might be most known for its Conservative leanings and association with the Church of Jesus Christ of Latter-day Saints, but the university is temporarily setting all that side.

The school will allow same-sex dancing on its grounds while it hosts the US National Amateur DanceSport Championships in March, according to the National Dance Council of America, the sanctioning body for the championships.

The school has hosted the competition in the past. But last September, the NDCA announced a rule change, eliminating gender roles for dance pairs in their competition. That means couples of the same gender or gender-neutral couples can participate, going against the rules of BYU.

The university's honor code prohibits any "homosexual behavior," which includes not just sex but "all forms of physical intimacy that give expression to homosexual feelings."

Including ballroom dancing. But in this case, the rules of the NDCA trump the rules of the university.

Read More