On legal validity