While I appreciate you should respect other countries laws and customs, if she became pregnant before entering I really do think it's a step too far. I'll probably go against the grain here but I feel more western countries with citizens who have been imprisoned overly harshly should stand up to them with retaliatory sanctions against their citizens of some sort. Perhaps not jail, but cancelling visas etc. I understand the importance of respecting another countries sovereignty but they often take it too far when they could simply expel them from the country and be done with it. If they want to play the tourism game they need to get with it.
Obviously, if something more sinister, be it drugs, murder etc... then that's very different from pregnancy.