This one is "The Curse of Fenric" from 1989, the 7th Doctor's (Sylvester McCoy) third and final season, and the old show's final season before it was unceremoniously canceled by the BBC.
Ian Briggs Might be the Best Writer Doctor Who Ever had!
Ian Briggs' script is perhaps the most inventive, multilayered, subversive, and complex in[...]