A Malaysian court cleared the way for jailed former Prime Minister Najib Razak to move to house arrest after an earlier directive was disputed. According to Al Jazeera, the court ruled that Najib could serve his reduced sentence under house arrest, clearing a legal path for the transfer.

According to Al Jazeera, Kuala Lumpur High Court Judge Aslam Zainuddin said Tuesday that Najib would serve the remainder of his six-year reduced sentence under house arrest. According to Newsday, Najib appeared in court Tuesday, and police later sealed off the road leading to his home.

According to Newsday, Najib received royal clemency in September, allowing him to serve the rest of his sentence under house arrest after paying a court-imposed fine. The palace publicly rebuked the attorney general’s request, saying the king’s pardon prerogative allowing house arrest was clear and must be respected.

According to Al Jazeera, Malaysia’s king has discretionary constitutional authority to grant pardons, and the position rotates among the country’s nine regional sultans. Al Jazeera correspondent Rob McBride said the king was unhappy with the attorney general’s intervention and that it set a difficult precedent.

According to Al Jazeera, Najib had been due to leave prison after the fine was paid, but the attorney general’s last-minute intervention postponed his transfer.