Mixing safe and trusted blocks into the same function just doesn't work. Timon pointed out why in another post in this thread. I take that back. It appears to work, but it does not, as trusted code needs to provide a safe interface to it. That doesn't happen if it's just a "suppress the error message" hack.