Unfortunately you can't make everyone have respect for one another. If you force them via laws, that would probably just make them more resentful.
The intended outcome is not that people that want to discriminate stop existing (well, long term also...) but that non-discriminatory interactions can be allowed to flourish.