Ferrell then went up to former Laker Shaquille O'Neal, who was watching the game from a courtside seat, and pretended to eject the 7-foot-1, 325-pound center from the arena.
It was an odd and amusing scene, especially because Ferrell and O'Neal played their roles perfectly.
Ferrell kept a completely stoic face as he approached one of the most intimidating centers to ever play the game.
O'Neal must have been afraid of Ferrell's bushy mustache, because he immediately put his hands behind his back pretending to be handcuffed and solemnly looked down as he walked off the court. Watch the video above to see how the scene played out.