The correct answer is when the boat is equipped with adequate side railings. Without the railings it is highly illegal, both to be there and on the starboard side. This is because it's dangerous and people can get hurt, or worse. If you have adequate railings then it is allowed.