The PM says a deal with France would prove trying to get to the UK via the Channel would be "in vain".