Incidentally, a description stating 'only undergraduates are allowed to enter the dormitory' is seen in the regulation for the student dormitory of Kyoto University (article 3 of the regulation for the student dormitory).
ちなみに、京都大学寄宿舎規程によれば、「学部学生に限り入舎させる」（寄宿舎規程第3条）との記述がある。