Do skills scores at state count towards double qualification?

If a team’s only skills score is at state, can that team still qualify for worlds through double qualifications?

Example: The highest skills score prior to state is from Team Z, with a score of 45. Teams A, B, and C get scores of 50, but qualify for worlds through tournament champion. Team D gets a score of 49 points. Assuming a single double qualification, does Team Z or Team qualify?