One employer's handling of a sensitive workplace issue has resulted in a court ruling that could reshape how companies treat employees across Kenya.