I forget, but it was one of those gimmicky "THE SIMPSONS ARE GOING TO !" episodes which had about 4 minutes of Canada/Toronto jokes hastily tacked on to the end of it.
Every country has a Flanders. They just sort of materialize at the same moment the country is founded. The Flanders then goes off in search of the person who will least appreciate his friendship and moves in next door to him.