It is, however, the most liberal Muslim state in the Middle East with a constitution and judiciary based on western democratic models, not shariah Muslim law.
Though it is a Muslim state, it uses a liberal model with a constitution and a judiciary.