The BCA general rules of pocket billiards rule on "jawed" or "wedged" balls is this:
32. JAWED BALLS. If two or more balls are locked between the jaws or sides of the pocket, with one or more suspended in air, the referee shall inspect the balls in position and follow this procedure: he shall visually (or physically if he desires) project each ball directly downward from its locked position; any ball that in his judgment would fall in the pocket if so moved directly downward is a pocketed ball, while any ball that would come to rest on the bed of the table is not pocketed. The balls are then placed according to the referee's assessment, and play continues according to specific game rules as if no locking or jawing of balls had occurred.
The WPA general rules have this to say:
8.3 Ball Pocketed
A ball is pocketed if it comes to rest in a pocket below the playing surface or enters the ball return system. A ball near the brink of a pocket partly supported by another ball is considered pocketed if removal of the supporting ball would cause the ball to fall into the pocket.
I don't believe play should continue until wedged balls are adjudicated or resolved. In this case, from the view pictured, both balls would be considered pocketed, and in that case should be spotted.
Doc