Nation's highest court delivers mixed opinions on same-sex marriage