Doesn't the judge have some discretion as to whether the case was indeed frivolous, the level of frivolity not being determined by the extent of the loss?
Also, loser-pays should not apply to cases against the government, such as Burwell v. Hobby Lobby.
I would guess so. But this case was absurd, and it went through.