Can you use €100, €200 or €500 banknotes in Spain?

What happens if you find yourself with a large bill in Spain - will shops or businesses actually accept banknotes of €100 and over?

Can you use €100, €200 or €500 banknotes in Spain?
What happens if you find yourself with a large bill in Spain - will shops or businesses actually accept banknotes of €100 and over?