German law prohibits those under 18 from working past 11pm on Sundays, meaning Yamal would be in violation if he remained on the pitch for an extra 30 minutes.
Reports suggested that Spain must either substitute the young star or risk a €30,000 (£25k/$32k) fine.
Although it might defy regulations, Spain will probably risk keeping Yamal on the field.
The Barcelona prodigy has been a standout for La Roja at Euro 2024, notably scoring a superb goal in the semi-final.
A €30k fine would be a minor concern if they win in Berlin. Lawyer Jonas Warnken stated that a fine is unlikely to be imposed.
Yamal made history as the youngest scorer in Euros history with his stunning goal against France on Tuesday at just 16.
Now poised to make more history, Yamal is set to play for Spain in Sunday’s final, a day after celebrating his 17th birthday.
He is the youngest player ever to appear in the European Championship finals and the youngest to score in the knockout rounds.
Yamal aims to make further history in the final, possibly by scoring the winning goal.
As Spain faces England on Sunday, Yamal will seek to make a memorable mark on his 17th birthday, aiming to secure a special victory for both himself and his country in Berlin.