It does look like a 3dr/500 rim (they are the same).
D40 is a later one not an original 3dr/500 tyre as the tread wear marker ran around the centre of the tyre in the central groove.
This one look to have the tread wear indicator across the tyre.
Thats my understanding of what you have.