The U.S. Supreme Court ruled Monday that the ban on sex discrimination in Title VII of the Civil Rights Act protects gay and transgender workers.

Justice…