Osmose is not god. It may be wrong...

I do not understand why building=roof would need a layer tag?

I don't usually mix amenity=fuel and building=roof. This actually occored in version 1, in 2022. I agree they often should be diffrent elements, however I don't always seperate them. To preserve history, to keep things simple.