I would think if the student took a language through the AP level and scored a four a five it wouldn’t matter if they took only one year of language in high school. But colleges can interpret things any way they want.
Although I would not think it fair if the student was a native speaker.