At least under FIFA bylaws, once a player refuses to leave the field in a timely manner it's the obligation of the Referee to gather their associates and depart the field, ending the match.
There have been at least some situations exactly like I described[1]. I'll admit I don't know all of the rules of the game so I can't describe what might have been different in this situation.