Haha, yes, Frederik VII was an erratic, difficult monarch, but rather folksy too.
Just to put him in persepctive: He was the predecessor of Dagmar aka Empress Maria Feodorovna 's father Christian IX as King of Denmark. He was twice divorced and his third, morganatic wife was that Countess Danner whom Dagmar and her siblings were forbidden to socialize with. As a born commoner, Countess Danner was one of the people who influenced him towards constitutional monarchy.