I think firstly I'd have to consider the scenario in my terms the problems as I see them are:- 1. Entering the neutral zone violates the treaty. 2. If you do decide to rescue the ship you will be effectively guaranteed to be destroyed. I'm going to assume that they are using the Romulans as the fictional enemies here. Now, if I remember correctly the the Khitomer Accords have a exception for entry into the neutral zone for missions of mercy. As this is undoubtedly one of these, I would instruct my Comms officer to broadcast a message to this extent on all frequencies including one as a coded subspace message to Starfleet. I would then move into the system, presumably now the Romulans would un-cloak and lock weapons. I would then order both a message to be sent to them (both through a hail and a wide-band subspace transmission, with a transcript once again sent to Starfleet) informing them of the violation of the Khitomer Accords and my mission. I assume that this would be ignored. My next orders would be to have all nonessential personnel and civilians head for the escape capsules and attempt to avoid any weapons fire until that operation is complete. I would also ensure that a copy of our records of the encounter and a bridge recording were sent with them. When I get message that the operation is complete my tactic would then change to one of firing all escape capsules and providing weapons fire to draw attention away from them. This would result in the destruction of both myself and my ship however: a) It is documented that their actions were in violation. (i.e. The federation cannot be accused of starting a war) It is reasonable to assume a good majority of my crew survive. c) It left me with reasonable chance of success, if the computer where not "cheating" it is plausible, depending on the ship I am commanding, that I could win the conflict, rescue the Kobayashi Maru (or at least gain information on why it was in distress that may be valuable) and return my crew.