Most travel insurance policies have an exclusion for this, something along the lines of the following (taken from an AXA UK policy):
Your policy does not cover you for any claim directly or indirectly resulting from any of the following:
...
8) Confiscation or destruction of property by any customs, government or other authority of any country