
The boot is on the other foot
Power Shift
Use it when there's a change in who has control or advantage in a situation. 
Competition Context
It's often used when discussing sports, games, or competitions that have changing winners. 
Not Literal
Remember it's a metaphor; it has nothing to do with actual footwear. 