I just want to point out the consequences and repercussions of thoughtless actions.
You should simply choose the 20 or 30 cm more room height (required by the state building code) and the appropriate sloping in front of the sufficiently large chosen window.