A firm's optimizing behaviour under a Value-at-Risk constraint