Instead of securing a long-awaited ally, Poland's government is now preparing for an opponent in the presidential palace again.