The government cannot undo a Bitcoin transaction. If the keys are accessible, they can seize the coin and create a new transaction to redistribute according to the law.
If the keys are not accessible, then they are totally powerless to do anything at all.
The government submits to the blockchain's rules the same way everyone else does. That's kind of the point.