David Davis has been mocked after claiming the UK will still be able to enter a post-Brexit transition phase even if it fails to reach a withdrawal agreement with the EU.