If you turn the tables on someone, you change the situation completely, so that instead of them causing problems for you, you are causing problems for them.
The only question is whether the President can use his extraordinary political skillsto turn the tables on his opponents.