This effectively makes forgetting one's password a crime with a lifetime jail sentence... Not bad, not bad
Prosecutors need sufficient evidence to obtain from a judge warrants, and in this case a decryption order, before they can hold you in contempt of court.
Of course, the evidence required for a warrant is still typically less than what is necessary to convict. The issue here is something to do with fifth amendment rights, which honestly I don't know a lot about because I'm Australian.