Catalan ‘rebellion’ trial puts Spain’s courts to the test