The right isn’t restricted to citizens. And, underage or not, if one chooses atheism, there are no such measures as those Rifqa faces.
The Point is non citizens are none of my concern other than to aide in their removal from the country.