A Norwegian district court ruled on Nov. 2 that Marius Borg Hoiby, the stepson of King Haakon, could be released from home confinement while appealing his rape convictions, Reuters reported in The Straits Times. The decision requires review by a higher court before taking effect.

Hoiby, 29, received a four-year prison sentence in June for two counts of rape, domestic violence and other crimes. He has appealed the verdict, with his appeal trial scheduled to begin in February.

He is currently confined to his home on a royal estate outside Oslo and wears an electronic ankle monitor. The district court’s ruling would allow the monitor to be removed, but the higher court could overturn that decision.

Prosecutors had sought to extend his custody. The district court ordered him to report regularly to police and undergo drug and alcohol testing over the coming month.

Hoiby is Queen Mette-Marit’s son from a previous relationship.