Hi hun, I've just asked DH as he was doing community service when I first met him.
If he has to do community service, he will also get a probation officer. If he explains the situation to them, they should be able to help and be a little leniant. When Stu did it, the doors were locked at 9am and he was not allowed to leave. But if an emergency came up, he says that he feels sure they would have let him out. He just said that if we were in the same situation, and I went into labour, then he would have "broke the bloody door down"
Oh, and he'll get 3 chances before he gets dragged back to court. So he can actually not turn for on 3 occassions before he gets into trouble. And if it comes to that, he should only get extra hours.
Lets face it, if he does get this, the chances of you actually going into labour during the 7 hours he's there are minimal (he'll only be forced to do 7 hours if he works fulltime).
Look on the bright side - he'll be a whizz at painting walls, scrubbing off graffiti, and making rabbit hutches and birdtables!!

(just trying to cheer you up hun, I'm not making light of it because I know you must be worried

)