A judge reaffirmed the ruling ahead of a scheduled trial in a mental capacity suit filed by Manuela Herzer, the ailing media mogul’s former companion.