The primary established mechanism for safe softforks is the reserved script NOPs (which will not be relayed or mined by unmodified software today)
If a fork makes a previously illegal opcode legal, how can it be a soft fork?
I would encourage you to read what I actually write. I said nothing of illegal opcodes, and for good reason.