A Malaysian court has cleared the way for jailed former Prime Minister Najib Razak to be moved to house arrest, Kuala Lumpur High Court Judge Aslam Zainuddin said on Tuesday. The judge said the accused "shall serve the remainder of the reduced sentence of six years' imprisonment under house arrest," in line with a conditional pardon granted in September.

Najib, 73, was jailed for his role in one of the largest thefts of public funds ever recorded from the now-defunct 1Malaysia Development Berhad (1MDB). On Friday, his political party paid the $12 million fine required under the pardon terms, and he was due to leave prison. The attorney general then postponed the transfer at the last minute, raising questions about the legal interpretation of the royal pardon and the court order.

King Sultan Ibrahim warned that any attempt to challenge his order letting Najib leave jail could amount to defiance of his decree. The king holds a largely ceremonial role but has discretionary power to grant pardons under Malaysia's Constitution.

Al Jazeera's Rob McBride, reporting from outside the court, said the dispute has caused "all manner of political and constitutional controversy in Malaysia." He said the king made clear he was unhappy with the attorney general's intervention, which he described as setting a difficult precedent.

The house arrest order covers only Najib's first conviction. He faces an additional 15 years in prison after being found guilty last year in another 1MDB-linked case. That sentence begins after his house arrest ends. Najib has appealed that case, and his lawyers have asked that the jail term and fines be halted, citing poor health and an inability to pay the fine.