the details were of course romanticized : a girl had supposedly disguised herself as a man to fight in her father 's stead , had become companion to a military dragon and saved the empire by winning a great battle ; as a consequence , the emperor of the time had pronounced girls acceptable for service with dragons .