Police in riot gear shot rubber bullets, used batons and police vans to disperse a few hundred young protesters in Barcelona.