Changing the law
If enough citizens want to, they can collectively change the laws.
There are ballot initiatives.
One can contact their elected representatives.
Some would claim that not all laws in this democracy are just.
Laws change. Somethings that used to be illegal are no longer illegal. And some things that used to be legal are no longer legal.