Diocese issues law on sexuality and gender