One of the Danish capital's most historic buildings has been engulfed in a raging fire.