The bank won't prevent you from depositing more than €3,000, but it will notify the Bank of Spain and the Tax Agency of this transaction, so you have to be able to justify it.