Well, you are right and you are wrong, lol, :lol:
The measurement comes from the inner ridge of the corragated section.
So DN16 is 16.5 mm OD of the inner ridge, where as the raised ridge edge will be 21.4mm
They refer to this as the inside diameter, although it is not to be confused...