@Greg *******
True Greg. However, we only know that immigration called their gym who reported the facts. Possibly their immigration history or maybe 'soft intelligence' triggered the check. Nobody, including the gym owner knows the reason for denial of entry. Therefore, it hasn't been established that not being enrolled (or not attending) a course can result in denial of entry.