Or maybe Wray was put in there so that he could be watched as he schemed with other Swampsters, who were then caught up in the whole sting.
Or maybe he was put there to calm the savage beast keep things status quo for a bit, maybe he is a sleeper on our side. Lol.