The National Australia Bank and its former head of repo trading both “might need a bit of a reality check” in a discovery stoush, a judge has said in a case alleging the senior employee was bullied and paid less than other workers because of her gender.