I don't know about those laws in your country but in my country i can discuss religion and even reject Islam with no penalty,and that was even the case during the Islamic empire but if using the force to mislead others then that is apostate and should be punished but discussion is more than welcome in Islam.
For example some thinkers and Muslim scientists during the Islamic Empire discussed Islam and declare their skepticism about Islam but still were respected for their scientific achievements.
On the
Qur'an, Al Razi said:
You claim that the evidentiary miracle is present and available, namely, the Koran. You say: "Whoever denies it, let him produce a similar one." Indeed, we shall produce a thousand similar, from the works of rhetoricians, eloquent speakers and valiant poets, which are more appropriately phrased and state the issues more succinctly. They convey the meaning better and their rhymed prose is in better meter.
By God what you say astonishes us! You are talking about a work which recounts ancient myths, and which at the same time is full of contradictions and does not contain any useful information or explanation. Then you say: "Produce something like it
Reference :
Muhammad ibn Zakariya al-Razi - Wikipedia, the free encyclopedia