Depending on the issue, different legal venues exist, including the Congregation of the Doctrines of the Faith, wich is formerly known as the Holy Inquisition.
Any Catholic is subject to canon laws.
If someone is excommunicated from the church and they still show up, they would be prosecuted under trespassing laws, not religious laws.