The Riga District Court on August 7th ordered former Latvian Rail (Latvijas Dzelzcels, LDz) chief Ugis Magonis taken into custody as a security measure, informs LETA.