Getting married is not the solution, the best solution is to leave the country as soon as possible.

But if your friend is willing to take the risk, go on!