Not in magnitude.

The teacher is acting in an official capacity.

The religious group is meeting on their own time without official involvement.

So yes, differences abound in this comparison, whether you care to see them or not.