It wasn't a treehouse of horror episode that bart used roman numerals. It was the episode about the lemon tree (pride of Springfield) that was taken by Shellbyville. Bart was trying to escape from a group of Shelbyville boys and used Rocky movies to help choose the correct door. "Rocky II and Rocky V makes Rocky VII, Adrian's Revenge!"
As you may have guessed I enjoy watching the simpson's, I can only remeber the line due the fact it has been repeated so many times.