Where does the story, The Occupant, take place? It does not mention it from the movie plotline. All I can find is this picture that may indicate which city it is.
IMDb suggests that Barcelona a city of Spain was its place of shooting.
The plot suggests that
It follows Javier Muñoz ... has been forced to surrender his swanky Barcelona apartment.
The directors, David Pastor and Álex Pastor, in an interview said,
“In this case, we wanted to shoot it in Barcelona ....And we wanted to portray Spain and life in Spain after the crisis...”
The picture you posted is wildly misleading. The next shot clearly shows that it is an advert opposite the window of his apartment:
(You can see the lead character in the window on the right.)
Which is actually already clear because in the shot you screenshotted, the boats at the bottom don't move. Plus there is a flatness to it that wouldn't be there if this was a real panorama visible from his apartment.