When Juliane was a child, there was still a lot of tension between the two branches of the royal family because of the coup, but eventually they made up and intermarried each other.
In 1803, Juliane had her confirmation together with her brother Christian (VIII) and sister, Princess Louise Charlotte of Denmark at the chapel at Frederiksberg Palace, the summer residence of the royal family.
Wilhelm lived in Denmark from a young age and had a successful military career, and was a popular and respected man in the Danish capital.
King Frederick VI didn't have any sons, so it became clear that the Danish throne would be inherited by Juliane's oldest brother Prince Christian.
However, there was already political talks about securing the Danish monarchy, which consisted of several states which had different laws regarding female succession, by giving the throne to a person that could keep the different parts together and Juliane accepted this.