This will be difficult, I know, but try to imagine you are Stephen Harper.

You are prime minister of Canada. You are approaching your 10th anniversary in that high position. You have won three consecutive general elections and are looking to make it four in a row on Oct. 19. With your majority in Parliament, you have more power and control today than an American president. You rank among the most successful political leaders in Canadian history.

Yet something is wrong.

Success does not translate into affection and admiration. You are successful, but you are not loved. Schoolchildren do not squeal with delight when they see you. Their fathers do not hoist them on their shoulders for a better view. Their mothers do not rush home to tell neighbours they have touched the garment of the prime minister of Canada. For all the sense of moment you generate, you might be an ordinary MP or a school trustee.

It's not your fault. It's the way you are. Popularity has never been your shtick. You don't make friends easily. You are actually better at making enemies than friends. After a decade in government, you are still a Reform-style opposition politician at heart. You need enemies more than friends to make your style of politics work. You would rather attack than defend and explain.

You have already assembled an impressive enemies list for the election campaign. Heading the list is the chief justice of Canada and her infuriating Supreme Court. The court keeps saying "no" to you. "No" to mandatory minimum prison sentences, "no" to appointing supreme court judges who don't meet eligibility requirements, "no" to abolishing or reforming the Senate without provincial consent, "no" to federal anti-prostitution laws, "no" to banning doctor-assisted suicide and, most recently, "no" to your government's efforts to stamp out the medical use of marijuana.

You upped the ante in your war with the court last week when your health minister, Rona Ambrose, declaring that she was "outraged" by that ruling, accused the court of steering young people toward marijuana use, just like, she said, Liberal Leader Justin Trudeau who proposes decriminalizing possession of pot.

An election that pits the government against the Supreme Court would be an appalling precedent. But it's not as though Harper doesn't have other enemies to choose among. There's also the Senate — his own Senate — which cannot control the wastrels in its membership. There are all those terrorists in our midst who must be put down by Bill C-51, the new anti-terrorism law. There are those annoying scientists and environmentalists who keep insisting climate change is real.

And there is Vladimir Putin. Bashing Putin must be good domestic politics, because Harper was back in Europe again last week, stamping his foot and demanding the Russian leader get out of Ukraine. If Putin noticed, he has not responded, but he will have other opportunities to yield to Harper's demand before the polls close here on Oct. 19.

This shapes up as a singularly nasty election. Ten years in, Harper is fighting with his back to the wall. His Conservatives have lost 10 percentage points in popular support since the last election in 2011. At first, the threat came from the Liberals under their new leader Trudeau. But while the Conservatives were concentrating their fire on Trudeau, momentum began to shift to Thomas Mulcair and his New Democrats. Today, they are even with the Tories, or marginally ahead. Another majority seems out of the Conservatives' reach. If the Liberal collapse continues, even a minority could be a stretch.

Mulcair has been able to build on the federal support base assembled by the late Jack Layton. He has also benefited from Rachel Notley's victory in Alberta. If Albertans are not afraid of the NDP, why should other Canadians dread Mulcair and his party?

Watch for Harper and his attack team to try to answer that question, frequently, between now and October.