(CNN) -- A Russian court has ruled that lead Bolshoi Ballet dancer, Pavel Dmitrichenko, who is accused of masterminding the acid attack against artistic director Sergei Filinm, will remain in custody. until the investigation is over.