Are all metric bulkheads designed like that?
Im not an expert nor a plumber, but as I understand it they are all designed to use the outside diameter. Therefore 40mm is the outside diameter of the the pipe/fitting/what-have-you. But otherwise, Im not sure what you mean by 'are they all designed like that'