Not illegal in the sense that it does not produce an error.
Please see the last paragraph in the description with a proposed strategy for a fix.