Tell Finder to label selected item to label index 2

OK, it’s probably easy but I just can’t figure out how to tell the Finder to label every selected files of front window to label index 2…

tell application "Finder"
	repeat with i in (get selection)
		set label index of i to 2
	end repeat
end tell

Another helpful reply from you Stefan, as usual. Thank you.