Anyone deemed “transphobic, homophobic or offensive” would face prosecution and a $25,000 fine.