Her birth came as a blow to her father , King Frederick II of Denmark , who had been hoping for a son . Her birth came as a blow to her father , King Frederick II of Denmark , who was desperately hoping for a son .