Are perfect forward security protocols then illegal? What if it's physically impossible for you to give them a key that doesn't exist anymore?
Thankfully it's a well-known concept now, and a foreign-invented technology you need to interoperate with the rest of the world.
Nothing stops them from throwing the law at you though, even if they know if won't work. You literally can't be punished as a prosecutor for anything less than deliberately throwing the trial for money. If they feel they won't win they'll intentionally ruin your life anyways.