Law, justice and even common sense are not always "aligned".
As for any moral dilemmas, IMO, when choosing for oneself which laws are just and common sense, one can often be subjective and unjust. When doing so for no personal gain (like when moving to let an emergency vehicle pass), the chance of being subjective and unjust is very low.
Still, I wouldn't be amazed to get fined for doing the right thing - whenever braking the law, one should be ready to accept the risks and consequences. Worse than a fine would be a scenario where moving at a red light causes a (fatal?) accident (Murphy's law?).