Turn the tables has 2 different meanings across 1 category:
Verb
cause a complete reversal of the circumstances
"The tables are turned now that the Republicans are in power!"
To reverse a situation, so that the advantage has shifted to the party which was previously disadvantaged.