There's Errors and Omissions insurance for things like copyright/trademark violations. But getting it requires a pretty thorough inspection of the film, and it's hard to imagine the E&O people overlooked the whole risk of North Korea. I don't know if they pay out in the case of being unable to release the film, it's mostly protection against lawsuits. It'd be interesting to know exactly how that plays out though.