AFAIK, it’s the latter. However, the case s officially out of my hands, so it’s all up to my superiors. I’m not sure whether or not a fail shows up in the transcript; in my time as a student any fail showed up in the transcript, but the practice has changed a few times since then.
There’ll be a note about the issue in their file, as well, though.