Is putting these kind of posters legal?

I get it, you can make protests and all that. But putting random posters at tram stations?

I get it, you can make protests and all that. But putting random posters at tram stations?