I think I saw Matthew Green propose a solution for this: Apple could allow you to use a different finger to force the phone to prompt for a password. In theory you shouldn't get jailed for contempt over this since you'd be doing it much earlier than being in Court in front of a judge - like when you see the cops coming.