The Florida Supreme Court ruled for workers in an opinion that ensures they can hire lawyers when they battle their employers over injury benefits.

In a 5-2 ruling Thursday, the court decided a statute that standardizes fees for claimant lawyers in workers’ compensation cases fails the due process test. The majority opinion in Castellanos v. Next Door rejects an hourly fee of $1.53.