Judge compares president’s attempts to erase history to the dystopian Ministry of Truth