Sorry, I come from licences more than credits, so please correct me if I read this wrong.
On the original question, my understanding of the rules is that the bank does not ask how a paper was produced. It asks whether it carries an apparently original signature or mark of the issuer and does not call itself a copy. The ICC has even treated a certificate downloaded from a website as an original. So I would check what the portal print actually carries, not that it was downloaded.
The second risk worries me more. In my own market, when a government paper depends on a licence we cannot promise, we try to keep it out of the payment terms and put it in the contract as a condition, with what happens if it never comes. A credit pays on documents, and a missing one is simply a refusal.
