Marrying someone for the sole purpose of getting a green card is unlawful and could initiate legal actions.