Pauline Hanson's lawyer claims she was not driven by racism when she told a Greens senator to pack her bags and return to Pakistan.