The banning of two phrases on the grounds they are offensive will be defended in the High Court by two states.