Is anything stopping the author from buying a heat pump?
E.g. you can buy a heatpump but you can't drill the hole in the outer wall.
In germany and austria most if not all windows also either open fully to one side or basically bend inwards so you can't install the ac units you install directly into the windows[1].
[1]https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2F...
edit: qualified the law statement
Some days of Summer it is hot there, and they are not prepared for that like people of the South of Italy or Spain, and there is chaos.
It is like when it snows heavily in Madrid: https://en.wikipedia.org/wiki/Storm_Filomena In places like Austria or Switzerland it would be routine. They are prepared and it would be not a big deal, but in Madrid it stopped everything for two weeks.
Interestingly, some people would describe that temperature as only "warm". I recently watched a video of a machinist working in his shop (southern US) saying that it was 94 and "a little warm".