The "while the scan was in progress" part made it pretty clear to me that he was someplace that he wasn't supposed to be.
However, "unauthorized Magnetic Resonance Imaging (MRI) room" also very clearly states that the room itself did not have proper authorization.
My guess is that it failed to get authorization due to the lack of electronic door locks that prevent people from wandering in while the machine is hot. /s