I think it's highly unlikely that Tom was not aware that he wouldn't be allowed to enter the museum without his parents.
Creo que es muy improbable que Tom no fuera consciente de que no se le permitiría entrar al museo sin sus padres.