Sometimes the consulate will communicate with the visa issuing agency by telephone to confirm your level and the duration of the class. If you cheat, you may be refused a visa and even affect your study abroad.
Of course, if your level is relatively good, but you don't reach 500 class hours, you can apply to the training institutions you signed up for (educational and training institutions recognized by the Spanish Consulate, such as Cervantes College and Don Quixote College) to issue class hours certificates and communicate well.