ORIGINAL: JWE
I'm afraid that is not quite correct. The term 'ceiling' has several well understood meanings in real life, when applied to a gun. There is ballistic ceiling, engagement ceiling, effective ceiling, all of them called ceiling. Indeed, the ceiling term most often reported is ballistic ceiling, because it is physical quantity of a tube/round combination. However, it is also the most meaningless in terms of a ceiling parameter a battery commander or gunnery officer would find useful. They, and the game, use the other ceiling parameters (effective/engagement ceiling). Just for example, a .50 cal Browning M2HB has a ballistic ceiling of ~15,000 feet, an engagement ceiling of ~4,500 feet, and an effective ceiling of ~3,000 feet. Please, oh please, don't suggest the .50 cals should be smiling and dialing up to 2.6 miles (4.2 km).
And yes, the engagement ceiling is a rather hard number (except read on). Pilots usually know what this is and it's a decades old no-brainer to try and fly above a flak envelope. However if the engagement ceiling is 9800 feet, this does not mean that 9801 is safe, or even that 9900 or 10000 is safe. The game adds some 'fuzzyness' to the ceiling number, so some guns might get an extra 1% or 2%, here and there, now and then, just to keep the airfarce boys on their toes.
To reinforce what JWE said: practically every AA projectile with explosive content in WW2 had a self-destruct feature, including VT-fuzed shells. Remember that a heavy AA battery can fire several tons of shells per minute; fragments raining down are bad enough, but you really wouldn't want shells to come down in one piece; that would make it nearly irrelevant for the attacker to drop bombs at all.
Now, here is some data about German AA guns and their ballistic ceilings and fuze limits (I'd expect Allied ammo to be in roughly the same ballpark):
gun....................maximum.......fuze..........(in feet)
20 mm.................3700 m........2200 m.....12130/7210
37 mm.................4800 m........3500 m.....15740/11475
Bofors..................6700 m........4300 m.....21970/14100
30 mm MK103......4700 m........1600 m.....15410/5250
88 mm Flak37....10600 m.......10600 m.....34750/34750
88 mm Flak41....14700 m.......12350 m.....48200/40490
105 mm Flak39..12800 m.......11800 m.....41970/38690
128 mm Flak40..14800 m.......12800 m.....48520/41970
(This shows, BTW, why the MK103 was not a success as an AA gun, it had less effective range than a 20mm, even if the shell was three times as heavy.)
The fuze limits represent the maximum distance a shell can travel before it self-destroys and should more properly be seen as a time limit, i.e. the maximum "life" a shell has after being fired. This corresponds with the maximum possible ceiling for a shell if it is fired vertically upwards, but remember that this can still be rather beyond the range where you can expect a reasonable hit probability.