Vertical Danfoss Ally mount. Top or below of valve?

Hi,

I have to ordered a wrong valve for my radiator. An horizontal mounted Danfoss Ally would interfere with a door. Hence, I want to replace it with an other valve to vertically mount it.

Is it ok to mount the thermostat top or bottom as well? I would prefer bottom, but just need to know as I have to order the valve soon.

Thanks for your input!

Greets,
Andreas