Yes, you can use either. The 5W40 is for vehicles set to 'longlife' servicing - but will be fine for your diesel engine, just more expensive, and you won't be getting the benefit. (Longlife servicing is only really beneficial if you are doing over 12k or so miles per year). I would be surprised if your car needs more than a litre top up of oil over a year at the age it is, they usually only use much oil the first couple of years.
The important part is to make sure the oil you buy is PD (Pumpe-duse), which the quantum VW 50501 is. Does this help?
Basically, you are fine with the oil you have, and shouldn't have to bother buying any more for at least a couple of years now.