@Brandon ***********
thanks for your quick response. Yes, that makes sense. I played around a little on the e-visa site and it would be fine, in theory, to apply online with a European nationality and, say, a UK location but not a Malaysia location. While a Malaysian person in Malaysia has to apply at an embassy or consulate. So perhaps the rule is you can apply in any location that is part of the e-visa programme?