Prison Architect

Prison Architect

Which side do you sit on?
Brutal Punishment or noble attempts to reform? From the Panopticon to the Supermax, this is your chance to publish or subscribe to the best prisons from the Architect community.
Weird thing I want to do, but... would this be possible?
You know the "Snitch Sorter" mod right? It automatically detects Snitches and Ex Law Enforcements and turns them into Protective Custody. While that's great when playing normally, I'm in a bit of a tricky situation with roleplay... I'm not running a prison, not exactly (Long story short, LOTS of mods)

I want a similar item to the one added by that mod, but instead of looking for Snitches and Ex Law, it looks for Minimum Security Prisoners, then determines the outcome of the "test", 95% nothing happens, 5% they become Protective Custody. The item can't test the same prisoner twice, if they got the unlucky 95%, that's it for them unless I manually assign Protective

Is this even possible? If so, what would I have to do?