Airspaces have a lateral and vertical boundary, which results in airspaces adjoining other and thus having a shared vertical boundary. Which airspace class do these shared vertical boundaries belong to?
Example:
Dortmund's (EDLW) control zone is a class D from GND/SFC to 2500ft MSL, on top of this control zone is a TMA airspace class D from 2500ft MSL to 4500ft MSL thereafter class E from 4500ft MSL to FL100and above that we have class C airspace from FL100 to FL660.

(Image Source: www.skyvector.com - Map Data: skyvector, ARINC, OpenStreetMap)
If an aircraft wants to occupy 2500ft MSL, 4500ft MSL or FL100, which airspace class are they in?