Complex sentence: They had no right to legal counsel, and if exceptionally they were allowed a legal representative then the representative risked being arrested for heresy as well.
Split into simpler sentences: They had no right to legal counsel. If exceptionally they were allowed a legal representative then the representative risked being arrested for heresy as well.