Heisenbug!

Why does it work when we print \the\textfont#1?