I went for a crew rest one time over China. About 30 minutes later we were into thunderstorms for about 10 minutes and ended up with six lighting strike locations and a severe turbulence check. The pilots said that they could not get a deviation around weather, But why not just enter a hold somewhere short of the thunderstorms(such as present position) and then decide the next course of action. No military airspace violated.