Do the congressmen who voted for this bill get called to testify on how they interpreted it when making it law?
What happens is that the judges can go back to all the formal recorded debates of the legislators concerning this law to try and figure out their intent.
In my case it was just someone making a typing error because the police rushed into the legislative chamber and demanded a literal last-minute change to a completed bill. They fixed it six months later when someone noticed it. No helping anyone in the meantime who is affected by the error though. It is very, very rare that a judge will go against the wording of a law even if it is literally insane.