The Supreme Court, after hearing more than a dozen petitions on both sides of the argument, ruled that homosexuality was…