Given the intelligent level of current top tier models, AI can write a transpiler from this unsafe language which contains syntax like "ignore previous instructions..." as function call to a safe language. It work on safe language and transpile back to this unsafe language.
Easy.