"The law in question is not about happiness," says Justice Peterson.