How to show specific views for certain combinations of taxonomy terms? I have searched and not been able to find anything related to this specific situation.

I would like to show specific views for certain combinations of taxonomy terms in Drupal 7.

I have three different taxonomies each with different terms (I have changed the terms here to make them easier to understand):  

Fruit
  - Apples
  - Oranges
  - Bananas

Numbers
  - 1
  - 2
  - 3

Letters
  - a
  - b
  - c


Using these terms I already have a view that shows all items tagged with specific terms based on url such as:

/fruit/apples/1/a
/fruit/apples/2/c
/fruit/bananas/3/b


I achieved this with a view which uses a url in the form of /fruit/%/%/% and multiple contextual filters of type 'Has taxonomy term ID'.

So far so good.

What I would like to do is have different view displays that show for specific urls/combinations of terms:

/fruit/apples/1/a  - display 1
/fruit/apples/1/b  - display 2
/fruit/bananas     - display 3
/fruit/oranges/1/a - display 1
/fruit/oranges/1/b - display 2


Does anyone know how I can achieve this or have any alternate solutions/ideas?
In a custom module you could implement the hook hook_views_pre_view()

e.g.

function my_module_views_pre_view(&amp;$view, &amp;$display_id, &amp;$args) {

    if ($view-&gt;name == 'the_view') {
        // if url matches certain pattern
        $view-&gt;set_display('your display');
    }

}