Kamir Naghdi was a department head at a London law firm before he was fired amid concerns about the impact his behaviour would have on the firm's reputation, a tribunal heard.