The 27-year-old, who is the stepson of the heir to the throne, is in detention in Oslo.