Tom Felton’s casting on “The Flash” won’t stop the CW series from dropping “Harry Potter” jokes in Season 3.

Felton, who is best known for his role as Draco Malfoy in the “Harry Potter” film series, is joining the show’s upcoming installment as Julian Dorn/Albert. Despite his addition to the cast, executive producer Andrew Kreisberg told Entertainment Weekly that Cisco (Carlos Valdes) “will continue to make pop culture references” on the series, including “Harry Potter” ones.

“Tom Felton is portraying a character on our show — he’s not portraying Tom Felton,” Kreisberg explained, before adding that they are generally “not afraid to have a little bit of a meta-moment” on the series.

Apparently, Felton has no problems with all the “Harry Potter” references on “The Flash.” In fact, he even hopes that Julian would be the first to make a “Harry Potter” joke in Season 3.

“I’m so excited for the references,” the 29-year-old English actor said. “I don’t doubt the talent and creativity of the writers. I’ve got a feeling they’ll come up with some real good ones. I hadn’t thought about me saying it — I assumed it would come at me from Cisco — but maybe I should give it to Cisco. Maybe he should misquote something and I could correct him.”

As previously reported, Felton will first appear in Season 3, episode 2, titled “Paradox.” The synopsis for the episode revealed that Julian and Barry Allen’s (Grant Gustin) first meeting will take place in the episode, and Barry will be surprised by his new co-worker’s immediate disdain for him.

Back in June, TVLine revealed that Julian is a CSI at the Central City Police Department who suspects that there’s more to Barry than just his good guy reputation. The casting call for Felton’s role revealed that the new character will eventually set out to learn what Barry is hiding — “all while concealing some secrets of his own.”

In an interview with SciFiNow late last month, Felton said that Barry is not familiar with Julian, but Julian is familiar with him. During a recent chat with Entertainment Weekly, one of Todd and Aaron Helbing — both executive producers on the show — explained that odd dynamic between the two.

“He’s a direct result of Flashpoint,” one of the Helbing brothers said of Julian. “Barry’s had that lab to himself, but now he’s got to share it with this guy, who doesn’t really like him and is kind of prickly.”

Entertainment Weekly released first-look photos of Felton’s character on Tuesday, Sept. 27. Check them out below:

“The Flash” Season 3 premieres on Tuesday, Oct. 4, at 8 p.m. ET on The CW.

Tom Felton Tom Felton has no problems with all the “Harry Potter” references on “The Flash.” In fact, he even hopes that his character would be the first to make a “Harry Potter” joke in Season 3. Pictured: Felton arrives at the Premiere of 20th Century Fox’s “Rise of the Planet of the Apes” at Grauman's Chinese Theatre on July 28, 2011 in Los Angeles, Calif. Photo: Getty Images/Frazer Harrison