
Poacher turned gamekeeper
Role Reversal
Describes someone who switches sides, often having insider knowledge which makes them effective in their new role. 
Figurative Use
The phrase is used metaphorically and is not about literal poaching or gamekeeping. 
Unexpected Transition
The switch in roles is often surprising or ironic, given the person’s past. 