Pauline Hanson has had a teary moment on TV after a court found she made racist remarks about a fellow senator.