The former leader of Reform UK in Wales has admitted bribery and will be sentenced on Friday.