The government has told the supreme court that the right to religion in the constitution can be regulated by the state to ensure gender equality in Muslim religion.