The importance of galaxy interactions in triggering type II quasar activity