Ministry of foreign affairs does not make laws. (or maybe it only makes laws for foreigners)
ministry of interior makes laws.

The laws of Qatar are by the people of Qatar i.e. (Qataris) for the people of Qatar, to the people of Qatar.