Sneaking someone into a lecture

Hello! I have a friend of mine who wants to apply to uOttawa next year and she wanted to see how lectures are. I told her I could sneak her into one of my 50 people ish lecture. Although, my teacher recognizes me because I’ve taken classes with him before, he’s pretty chill, but i’m scared we might get caught or something. Can I get severely punished or are we chillin?