Timothy Zahn said this quote

She was here, and it was now; and as the emperor's instructors had so often drummed into her, the first item of business was to fit into her surroundings. And that meant not looking like an escapee from the medical ward