Russias vladimir putin is backing donald trump. so too are a procession of autocrats and despots across the globe. the us president may have few friends among america's usual allies, but he sweeps the board in the contest with democratic contender joe biden for the authoritarian vote.

It says something deeply depressing about the damage mr trump has inflicted on liberal democracy that the world's self-styled strongmen are almost at one in backing the re-election of the supposed leader of the free world. how do you make the case for an international order built on the rule of law when the us president once told chinese premier xi jinping he was relaxed about locking up uighurs.

The idea of the west as the guardian of liberty and law took a bad knock in the iraq war. the 2008 financial crash put a similar dent in the let-the-markets-rip ideology of the washington consensus. mr trump's contribution to global affairs has been to strip away what remained of america's moral authority.

The us built the postwar order around a system of rules. mr trump says everyone should be a selfish nationalist. he boasts of a close rapport with revisionist leaders such as mr putin and turkey's recep tayyip erdogan, and does nothing to conceal his disdain for those such as germanys angela merkel who want to uphold those rules.

Mr putin's enthusiasm for mr trump needs little explanation. according to john bolton, the former us national security adviser, the russian leader must have been laughing uproariously at what he had gotten away with after the 2018 summit in helsinki at which mr trump took moscow's side over that of the us intelligence agencies which had uncovered russian interference in the 2016 election. i think mr putin thinks he can play him like a fiddle, mr bolton has said.

The kremlin has claimed two big strategic prizes: us permission for russian revanchism in ukraine and for its push into the middle east, and uncertainty about the us security guarantee to europe through nato. mr trump would have offered more had it not been for pushback in congress.

Turkey and a clutch of middle eastern countries have been given similar impunity. after a difficult start, mr trump tacitly blessed mr erdogan's expulsion of kurdish forces from northern syria and dispatch of military forces to libya. turkey is aggressively expanding its regional power base in the eastern mediterranean. a member of nato, it now buys sophisticated russian military equipment without facing any sanction from washington.

In the gulf, mr trump's only concern is to maintain his hardline stance against iran.he has overlooked saudi arabia's crown prince mohammed bin salman's alleged role in the murder of washington post journalist jamal khashoggi, while riyadh has been given a free hand to pursue its bloody war against iranian-backed insurgents in yemen. likewise, the united arab emirates has been unconstrained in intervening in the libyan civil war.

The common denominator is mr trump's view of foreign policy as about personal relationships and deals. his transactional approach leaves no place for grand strategies, let alone values. the same mindset explains his warm relationships with fellow hardline nationalists such as india's nahendra modi, lauded by the us president as a great leader and loyal friend. for his part, israel's self-styled strongman benjamin netanyahu has won backing for dismantling what remains of the framework for a two-state solution with the palestinians.

That leaves mr xis regime in beijing. it may be the exception. the chinese leader is no enthusiast for mr biden, and the democrats would take as tough a line as republicans over trade and technology, but western intelligence agencies think beijing's view may now be anyone but trump.

Mr xi was once hailed by mr trump as a man he could business with until he decided there were votes to be won in bashing beijing. the president has since put himself at the head of the china hawks in washington. escalating trade sanctions and efforts to cripple chinese technology companies are now accompanied by presidential invective about the china virus. as a rule of thumb, chinese leaders have preferred dealing with republicans over democrats mainly because the former have tended not to mix up bilateral negotiations with broader questions of human rights.

China, though, needs economic stability to meet its great power ambitions. mr xi could have decided a tough relationship with mr biden is preferable to mr trump's combustibility. that seems to be the view of william evanina, director of the us national counterintelligence and security center: china prefers that president trump whom beijing sees as unpredictable does not win re-election. by contrast, we assess that russia is using a range of measures to primarily denigrate former vice-president biden".

Whatever such fine calculations and we are still waiting to hear from north korea's kim jong un it is clear the outcome of the election will have a profound effect on the wider contest between democracy and authoritarianism. democracy has been fighting with its hands tied behind its back. a us president ready to hold his interlocutors to some minimum standards of behaviour would at least cut the bonds.

Follow philip stephens withmyftand ontwitter