In Australia, marrying on a tourist visa means that you are supposed to go BACK to your own country before you reapply for the right visa and/or permits. There are ways around it, but that's the point of it. They actually have sent people back, including pregnant women. One woman pointed out that that means the baby would be terminated in China, but the govt sent her back, and the baby was terminated.
There was an outcry, I understand. (Previous govt.)To me that's voluntary manslaughter of an Australian citizen, with the govt legally and directly responsible. SHould have sent her back after the birth.