All colonialism is wrong, illegal and should be reversed wherever practically possible. Gibraltar is pure colonialism, in the 21st century. It's abhorrent, and the UK would and has gone to war over things like that. It's just wrong, and literally only British people can't see it.
Catalonia is being held against its will, and is a territory controlled directly by another, the textbook definition of a colony.