In an extraordinary hearing, the Federal Court heard the barrister feared trolling and harassment if his name was revealed.