Arguments about sex had heads spinning at the US Supreme Court