The court said the rights of minorities should be decided by the Costa Rica 's lawmakers , not by a popular vote .