An Australian appeals court has overturned an earlier ruling that favoured designer Katie Perry.