In the US at least you can typically contest a ticket. If you feel it was unjust or unfair you can make your case before a judge, doesn’t mean you get it overturned.
If the sign didn’t state hours and it wasn’t clear it was a restricted time, maybe you could make a case.
If the sign didn’t state hours and it wasn’t clear it was a restricted time, maybe you could make a case.