"
The shamrock is forbid by law
To grow on Irish ground
This is hyperbole, and, I think, a rather crude exaggeration. The shamrock was not forbidden, nor was wearing green clothing. What was considered a crime was wearing a green item as a gesture of nationalism. A green badge or cravat was like carrying a poster saying "Brits Out!"