Here's a neat explanation of the UK proposal. Only some consignments are physically checked, all consignments are cleared.
rte.ie/news/analysis-…
"'This is completely legally fraught. … You can't give an instruction to the Joint Committee to start rewriting the [EU] Customs Code.'"
rte.ie/news/analysis-…