TORONTO - Mayor Rob Ford can stay in office for the time being, a judge ruled Wednesday.

Divisional Court Justice Gladys Pardu took about 30 minutes before granting Ford a stay of his ouster to allow his appeal to play out.

"You've got to always, always be prepared for the worst," Ford said after the decision.

"I'm just very glad I got the stay."

In putting the ouster on hold, Pardu said it was clear Ford would suffer irreparable harm if he was thrown out of office and subsequently won the appeal.

There was also no issue of corruption at play, she said.

Last week, Ontario Superior Court Justice Charles Hackland ordered Ford removed from office for violating conflict of interest laws by voting on a matter in which he had a financial interest.

The vote was on whether the mayor should repay $3,150 he had solicited from lobbyists for his private football foundation using official city letterhead.

Hackland put his ruling on hold for 14 days to allow the city to make arrangements.

Ford's lawyer, Alan Lenczner, spent about 15 minutes urging the stay, arguing among other things that Hackland's ruling was flawed.

He argued that Ford's decision to take part in the council vote was a genuine error in judgment or simply an honest mistake — something Hackland had rejected.

Clayton Ruby, the lawyer who brought the action against Ford on behalf of city resident Paul Magder, did not oppose the stay request, saying it was in the public interest to grant it.

If Ford loses his appeal — expected to be heard January 7 — he has said he will run in a byelection if council chooses to call one.

"I'm looking forward to the appeal," Ford said. "I can't wait until January 7th."

Council has the option to appoint an interim mayor to do the job until the next municipal election in 2014 or call a byelection at an estimated cost of $7 million.

Loading Slideshow...
  • Toronto City Mayor Rob Ford watches players from Don Bosco Eagles, the High School team he coaches, warm up before they compete against the Huron Heights Warriors in the Metro Cup in Toronto on Tuesday November 27, 2012 Those whose antics threaten to besmirch the party name normally don't get a second chance with Canada's federal Conservatives. Not so, it would seem, for Toronto Mayor Rob Ford.

  • Toronto City Mayor Rob Ford reacts after Don Bosco Eagles, the High School team he coaches, lost 28-14 to Huron Heights Warriors in the Metro Cup in Toronto on Tuesday November 27, 2012.

  • Toronto Mayor Rob Ford hoists the Grey Cup on stage with Toronto Argonauts players while celebrating the team's Grey Cup victory in downtown Toronto on Tuesday, Nov.27, 2012.

  • Toronto Mayor Rob Ford addresses reporters at City Hall in Toronto on Tuesday November 27, 2012.

  • Toronto Mayor Rob Ford speaks to his Don Bosco Eagles team during the Metro Bowl quarter-final at Birchmount Park in Toronto, Thursday, Nov. 15, 2012.

  • Toronto Mayor Rob Ford, left, speaks to the media at city hall in Toronto, Monday, Nov.26, 2012. Ford has been ordered out of office after a judge ruled Monday he broke conflict of interest rules.

  • Toronto Mayor Rob Ford, right, walks to attend a toy charity event at city hall in Toronto, Monday, Nov.26, 2012. Ford has been ordered out of office after a judge ruled Monday he broke conflict of interest rules.

  • Toronto Mayor Rob Ford talks to media at city hall in Toronto, Monday, Nov.26, 2012.Ford has been ordered out of office after a judge ruled Monday he broke conflict of interest rules.

  • <a href="http://www.huffingtonpost.ca/2012/11/21/rob-ford-fall-gif-video_n_2170653.html">Rob Ford was at an event to promote the Grey Cup when he fell while hamming it up for the press. A GIF of the fall went viral on the Internet</a>.

  • Toronto Mayor Rob Ford, right, makes a few remarks as Chicago Mayor Rahm Emanuel listens, before the pair signed a new "sister cities" agreement Wednesday, Sept. 19, 2012, in Chicago.

  • Chicago Mayor Rahm Emanuel, left, makes a light hearted comment as Toronto Mayor Rob Ford laughs during the signing of a new "sister cities" declaration Wednesday, Sept. 19, 2012, in Chicago.

  • Toronto Mayor Rob Ford sits on the back of Chicago's First Lady as he takes in an architectural boat tour on the Chicago River Wednesday, Sept. 19, 2012. Ford was visiting the city on a Toronto-Chicago Business Mission.

  • Toronto Mayor Rob Ford, top left, relaxes during a boat tour with members of the Toronto-Chicago Business Mission on the Chicago River waterfront Wednesday, Sept. 19, 2012, in Chicago.

  • Toronto Mayor Rob Ford, top right, waves to photographers during a boat tour with members of the Toronto-Chicago Business Mission on the Chicago River waterfront Wednesday, Sept. 19, 2012, in Chicago.

  • Rob Ford Meets Butter Rob Ford

    <a href="http://www.huffingtonpost.ca/2012/08/31/rob-ford-butter-sculpture-ex-cne_n_1846616.html" target="_hplink">Toronto Mayor Rob Ford comes face to face with a butter sculpture of himself at the Canadian National Exhibition</a>.

  • Butter Rob Ford

    As part of an exhibition at the CNE, Toronto-based artist Olenka Kleban has made a <a href="http://www.huffingtonpost.ca/2012/08/24/butter-rob-ford-sculpture_n_1828527.html" target="_hplink">butter sculpture of Toronto's mayor</a>.

  • Dave Chappelle And Rob Ford

    <a href="http://www.huffingtonpost.ca/2012/08/22/dave-chappelle-rob-ford_n_1822240.html?utm_hp_ref=canada-politics" target="_hplink">Comedian Dave Chappelle met briefly with Toronto Mayor Rob Ford</a> on Wednesday, Aug. 22, 2012

  • <a href="http://www.huffingtonpost.ca/2012/08/14/rob-ford-reading-driving-car-gardiner_n_1776183.html" target="_hplink">Rob Ford is seen reading while driving</a> in this photo from Twitter.

  • <a href="http://www.huffingtonpost.ca/2012/07/30/rob-ford-will-ferrell-zach-galifianakis-sketch_n_1719420.html" target="_hplink">Rob Ford meets with comedic actors Will Ferrell and Zach Galifianakis</a>.

  • Rob Ford poses with neo-Nazi Jon Latvis. <a href="http://www.huffingtonpost.ca/2012/07/26/rob-ford-nazi-photo_n_1707326.html?utm_hp_ref=canada" target="_hplink">Ford's office has explained Toronto's mayor was unaware of the man's beliefs when the image was captured</a>.

  • (CP)

  • Rob Ford's ballet debut

    Toronto Mayor Rob Ford (left) and city councillor Michelle Berardinetti (right) smile on stage during a performance of the Nutcracker in Toronto on Saturday, December 10, 2011. (THE CANADIAN PRESS/Pawel Dwulit)

  • (CP)

  • Rob Ford's ballet debut

    Toronto Mayor Rob Ford acts on stage dressed as a Cannon Doll during a performance of the Nutcracker in Toronto on Saturday, December 10, 2011. (THE CANADIAN PRESS/Pawel Dwulit)

  • (CP)

  • Rob Ford's ballet debut

    Toronto Mayor Rob Ford jumps on stage dressed as a Cannon Doll during a performance of the Nutcracker in Toronto on Saturday, December 10, 2011. (THE CANADIAN PRESS/Pawel Dwulit)

  • (CP)

  • (CP)

  • (CP)

  • (CP)

  • (CP)

  • (CP)

  • (CP)