That's funny, I have such a photo on my passport (I didn't care my beard as a student), I can't imagine the scrutiny I would receive at such an anti-Islamic border.
As a side note, I had no extra problem at Buenos Aires even if I made a major custom mistake (I got back into the international area after having received the entrance stamp), they understood I was lost. The Argentina capital was victim of 2 big bomb attack by some Islamic extremists (29 and 85 dead) but seems to not have instated hate and arbitrary humiliations as a security policy since.
As a side note, I had no extra problem at Buenos Aires even if I made a major custom mistake (I got back into the international area after having received the entrance stamp), they understood I was lost. The Argentina capital was victim of 2 big bomb attack by some Islamic extremists (29 and 85 dead) but seems to not have instated hate and arbitrary humiliations as a security policy since.