The BBC upheld complaints of 'inappropriate behaviour'.