If the $45 is meant to be temporary, it can reasonably be looked as a fine to encourage people to get their RealID.
I don’t think the existence of the fine itself is necessarily evidence of a cash grab.
If it isn’t temporary and extends beyond a year or two, then it probably is just meant to be a cash grab.
The word for that is tax
And since Congress never approved it, well, that makes it illegal.