Morality is based on individual views. The baker in question viewed homosexuality as immoral. I’m not sure why you are using it as an example though if you are just going to dismiss the laws that the person in question operates under. If you want to dismiss those laws, you need to find an example from your own country.