Window facing the chapel

During the construction of the  Mariana City Council and Jail, there was a great appeal for the link between civil and religious buildings, which is why each chamber house had a chapel where prisoners could participate in masses.

In the case of Mariana, the side windows have a slight inclination with their axis facing the center of the chapel.

Furthermore, at a certain time of year, with the sun at a specific time, the chapel's shadow is aligned with the window in the middle of the chain.

Was this planned or a coincidence?