I know tons of companies where the working hours are 8-10 hours even in Ramadan and the authorities are fully aware of this fact.

Welcome to Qatar.......where rules are made just to be put into black and white.