En domstol har besluttet, at der er grund til at tilbageholde eksrådgiver for Zelenskyj i korruptionssag.