A sham marriage is when people get married just for the sake of convenience or to deceive the public or society. Entering such marriages is a violation of the law in some countries. Usual reasons for sham marriages are to gain immigration rights for one of the spouses or to create defense against the suspicion of homosexuality.