John,
As mentioned, it would concern me too as a poor design, but I don't think it is a code violation.
You could easily add a shunt trip so that when (just before) the tie closes, it shunt trips a portion of the load to bring it within ratings and not trip the active main.