Is it possible to make a player "unreleaseable" like he cannot release on death, if he has a certain flag in the database? If so, what would be the easiest way?

We've already tried changing the playerflag on death to the Lich King one, where he cannot release, yet this just doesn't work on relogs.

- - - Updated - - -

Nevermind, we found out how to do this