The 5 appears frozen, so not possible to make a legal hit using the 5 ball. The cb going directly into it may come back and contact the rail that it is frozen to, thus getting a legal hit. But I would not count on that without making the 5 ball, for it will take a little force to get the cb back to the rail.
Remember,
The 5 is not frozen if not declared as such, and that is not the responsibility of the shooter, so if not declared then you can roll up upon it, result; legal hit.
But if it is declared frozen, and there is no way to get a legal hit without making it, then I would make it, and place the cb in front of the opposite head rail corner pocket. Make him bank it for the win, or a thin cut for the win.
Or,
you can make the 5 plus do a follow in scratch and put two balls up on the spot. But, someone with more experience would have to discuss this scenario!
Or,
possibly you make the 5, and the cb ends up against the long rail jaw and hides the spotted 5 ball.
thanks, good wwyd!
Whitey