It depends on where he stands, so the flexibility will be decided about the standard of his faith and willingness to sacrifice. It will be provided by him himself. There are some Muslims who are described in the Holy Quran as those who hide their faith out of weaknesses and Allah may forgive them, it says, but not necessarily.
So they take the risk of running Allah’s wrath, but Allah may forgive them. I’m giving you an answer in principle. I don’t know your environment or anybody else’s environment, so how can I go on describing everybody’s environment and make a distinction between this and that? I have given you an answer in principle, please.